Skip to Content
Menu
This question has been flagged
1512 Rodiniai

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. 


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
rugp. 25
2744
3
vas. 25
3953
0
geg. 24
46
1
bal. 24
3593
4
rugs. 23
5146