How to create a form which hides/shows questions depending on previous answers

Hi,

I’m wanting to create a long form. I’m hoping to have it so there are checkboxes asking the user a question, if the user ticks ‘yes’, then another form question will appear underneath. If the User ticks ‘no’ then that questions will stay hidden.

For example:

“Do you develop websites? YES/NO”

If the user checks YES, then a further question will appear underneath asking
“What software do you use to develop websites?”

If the user checks NO, then they continue to the next question without any other questions popping up.

Any tutorials or answers would be great! Thanks

You can custom code it using Javascript. All of your business logic and show-hide code would be there.

Or, you can use a framework that is designed to allow those capabilities;

1 Like