Se rendre au contenu
Menu
Cette question a été signalée
1539 Vues

Hello everyone, I would like to add a new question type to the survey: a Selection field(selection_option) appears in the front as a selection field type with its options. I have added a new question type to the model survey.question and store the options in the suggested_answer_ids everything is good in the back but when I am trying to test the survey and answer the question after selecting an option from the front and submit the answer, the new question type gives me an error which is this type question (selection_option) has no a saving Function. how to write a saving function for this new type of question and save the answers in the DB. 


Avatar
Ignorer
Publications associées Réponses Vues Activité
2
août 25
2754
3
févr. 25
3969
0
mai 24
46
1
avr. 24
3597
4
sept. 23
5152