Expand my Community achievements bar.

Dropdown selection to make a subform visible

Avatar

Former Community Member
Hi I am trying to work out how to make a subform visible/invisible dependant on the selection made in a previous dropdown box. Any ideas?
1 Reply

Avatar

Level 2
Add the following javsscript code in the change event:



var selection = xfa.event.newText;



if(selection == "visible"){

subform.presence = "visible"

}

else {

subform.presence = "hidden"

}