Hey fellow wewebbers, I am trying to figure out a way to add a feature to my app that I think users will love, but I’m not 100% sure on the approach I should take.
Basically, I want to allow users to create forms themselves, and then have other users fill them out. So, this would require:
- An interface through which users can create new questions
- The ability for a user to select the type of question (short answer, long answer, multiple choice, ratings, for example)
- Connecting the collection of questions
- Creating an interface through which users can ANSWER those questions
- The ability to submit answers to those questions in the backend
Right now, I’m thinking of doing this on a question-by-question basis, but using a table reference to “link” questions together into a “form”. Then, I am imagining using a collection list to display the “form” using filters to only display the questions that belong to a given form. For the different types of questions, I am thinking I’ll have to include all four input fields (short answer, long answer, multiple choice, ratings) on each collection list item, but selectively display one based upon the type of question listed in the database. That feels a bit clunky, but I can’t think of another way.
Any ideas?