Ir al contenido
Menú
Se marcó esta pregunta
1521 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 25
2751
3
feb 25
3959
0
may 24
46
1
abr 24
3596
4
sept 23
5149