There is no rule that says that a form must be 1:1 with controller and controller 1:1 with model
Create the forms in the best way for the user experience, not your convenience
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Guys working with a online quiz examination in laravel. i need to add question and store it in db.
for this i have 5 forms
1)adding education_standards with education name and question_description
screenshot:https://imgur.com/nTfr9MB
2)adding class with class name and description
screenshot:https://imgur.com/ltUT77W
3)adding subjects with subject name and description
screenshot: https://imgur.com/jFJE8Ln
4)adding chapters with subject_id, chapter name and description
screen shot: https://imgur.com/FNmLxpP
5)adding topics with subject_id,class_id,chapter_id, topic name name and description
screenshot: https://imgur.com/zY7n3kQ
education_standard_id,
class_id,
subject_id,
chapter_id,
topic_id,
levels
question
question_image
optionA
optionA_image
optionB
optionB_image
.
.
.
so on
screen shot: https://imgur.com/piSvG5G
is this right?? my doubt isdo i need 5 forms to add these.
Refer this link for tables structure these forms and then suggest please: https://laracasts.com/discuss/channels/laravel/should-i-change-my-datastructure-specifically-the-questions-table-for-online-examination-by-the-following-tables
Please or to participate in this conversation.