Hide element based on other element

mvdw310

New Member
Dear All,

I want to do the following with form elements, but i haven't any idea where to start :

Element A = a dropbox with several options, last option is other
Element B = a text field

on load element B must hide
When a user choose for other in element A the element B must show.

Can someone point me to the right direction

i have found this can be done with Javascript, but i can't find the right code.

I hope someone can show me how to.

Grtz From Holland
Manfred vd Waarsenburg
 
In the settings of your element A, go to the Javascript section and you can set up your scenario there.
Typically for what you want, you need 3 'items': the first one "onLoad" to hide the element B, then 2 "onClick" events, one to show B when the value of A is the right one and a second to hide B when A does not have the right value.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top