Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

aureliee123's avatar

Dynamic fields json nova

Hello šŸ‘‹, Im working on a Quizz project where the admin creates A question and adds multiple choices to that question And then selects the correct answer(s) to that question

So i was thinking of using a json field named answers In the table questions

For example Qestion 1, answers [{answer:a, correct :1 } , { answer : b , correct :0}]

Instead of creating an answers table

Since I’m going to work with nova for the admin panel Is there a way to achieve this by having dynamic fields where the adlin can add as many answers as he wants and saving them as json

Thank you

0 likes
0 replies

Please or to participate in this conversation.