Highlighted

Dropdown selection to make a subform visible

Avatar

Guest

18-02-2009

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?

Replies

Highlighted

MichaelDeiss

18-02-2009

Add the following javsscript code in the change event:



var selection = xfa.event.newText;



if(selection == "visible"){

subform.presence = "visible"

}

else {

subform.presence = "hidden"

}