Field Type: Checkbox – Allow only one option
-
Hi, I thank you in advance for your help.
Currently, when creating an intention, choosing the Checkbox field type and inserting two or more options (option1 and option2, for example), the plugin will allow multiple-choice of these options. If a user selects two or more options in the checkbox, the response field will be filled with something like “option1,option2” and the plugin will not understand the answer.
How to change the multiple-choice checkbox option to just one choice? Can this be changed with some line of code?Current example (multiple choice allowed):
[x] option1
[x] option2
[x] option3
[x] option4Answer: option1,option2,option3,option4
The chatbot will not understand the answerExample of what I need (only one choice allowed):
[x] option1
????option2
????option3
????option4Answer: option1
The chatbot will understand the answer
- The topic ‘Field Type: Checkbox – Allow only one option’ is closed to new replies.