I created a custom form and need to use the boolean feature for yes/no questions. The check box shows when in editor, however, when I view it through preview or publish, the check box displays but the Yes No (Text) next to the check boxes does not display. I see a message in the Developer console that says " Wix code SDK Warning: The text parameter that is passed to the text method cannot be set to null or undefined. " I think it is related to my issue. But I am still confused. Please help. I have attached a photo
1 Like
bumping for you
Thank you!
Hi,
Checkboxes are by default added as containers with a text element and a checkbox grouped together
It appears that you are interacting with the text instead of the checkbox.
In your code, make sure that you are referencing the actual checkbox. The text element should remain untouched.
Actually, I did several things wrong. I watched a Nayeli Gomez tutorial on youtube and was able to figure it all out. Thank you Nayeli, your videos are extremely helpful.
Thanks for the reply Ido!
Yay!!! Glad you figured it out!!! That is the best way to learn!!! Happy Coding!
#totallycodable