Developer forum

Forum » Rapido » Form for editor fields appear based on an answer

Form for editor fields appear based on an answer

Gerard Kocks
Gerard Kocks
Reply

Hi,

For ISTwente we have a form in which we would like to make a change.

We would to add a question: 'Single-guardian family'.
Based on the answer we would like to show more field.
If user says 'yes' we don't have to show anything more.
If user says 'no' some extra fields need to appear under.

Because of layout we use dropdown for the Yes/No question.

Is this possible in the current situation?

Best regards
Gerard


Replies

 
Hans Ravnsfjall
Hans Ravnsfjall
Reply

You could do it with the forms module, using css and Javacript

but thats maybe not what you are looking for?

/Hans

 

 

 

 
Gerard Kocks
Gerard Kocks
Reply

Hello Hans,

No, that's not wat I am looking for.
Are there no other options? I can make a feature request for it perhaps?

Best regards
Gerard

 
Nicolai Pedersen
Reply

It is currently not a supported feature.

The best option is to add help text to the extra field that it only needs to be filled if question is no.

 

You must be logged in to post in the forum