Im designing an adobe form in SFP. The following is my scenario.
I have 3 textfields like texfield1,texfiled2,texfield3. and a dropdown box with static values like Vendortype1,2,and3.
Depending on my selection in the dropdown (Vendortype1), 2 fields like textfield1 and 2 should be displayed on form. and textfield3 should be hided
If I select Vendortype2 from dropdown, textfield3 should be displayed.
Can some one tell how to handle this?
I have written in change event of dropdown like following but it is not working.
if(this.value = "Vendortype1" )
TextField1.presence = "Visible";
TextField1.presence = "Invisible" ;