I am trying to do so with a drop down and this code doesnt work.I have to choose one option in the drop down, lets say value=5, the subform shud display rest all values if chosen, the subform shud not be displayed. This code doesnt work for that
I am still not able to get it right. in the "formready" event of the page I wrote
xfa.form.form1.pg1.subform1.presence="invisible";
so that it is not visible when the form is loaded..it works fine..but when I choose from the drop down list..using the above code..it doesnt work...
but if i donot load it as invisible and then i choose the value (lets say 3) from the drop down it becomes invisible but if i then change the value in drop down(say 2)..it does not become visible again.