How can I only show a question (in a form) if the user selects the answer “Other/none of the above” in a Dropdown list?
I’m trying to connect a text enter in a databased form to be shown only if the user selects the answer “Other/none of the above” from the dropdown list of the previous question.
A want to activate #textInput8 (selected in image below) only if #selection2 (in image below “Doenças crônicas”) is answered “Outros” (Other, in Portuguese).
Sorry for the stupid question. I’m only a beginner in coding
I see you field is “Visible on load” meaning that initially it will be visible, no matter the value. So, you may want to unselect it for the #textInput8 component.
Please also check, that the selection2_onChange function is correctly assigned to #selection2 element. You can do that in Events section of the properties pane.
If that does not help, you can give me a link to your site and I will check it for you.