im creating a app the creates surveys. But im struggling in the database structure.
My Tables:
Surveys:
- id;
- user_id;
- title;
- status;
Questions:
- id;
- survey_id;
- label;
- input_type;
- options;
- order;
My only issue is that i need to be able to create some kind of cascading or chaining feature. For example imagine that i have a question (radio button) where the answer have 2 options, "yes" or "no", but in case that the user selects "yes" for example it appears another question. How i would structure my tables?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2kVXQjU
via IFTTT
Aucun commentaire:
Enregistrer un commentaire