Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

FormCalc not working ... Hiding text field based on drop-down selection

$
0
0

I thought I was on the right path. I have a drop-down with seven options. Here is what I need: If they select RFA (value 4) then "textfield14" becomes visible. If they select any of the other choices then "table5" becomes visible and "textfield14" goes hidden. My current formula is on the right track but if I select RFA and "textfield14" shows but then I choose another option, the "textfield14" does not hide again. Thoughts?

 

 

if (DropDownList1==4)then

TextField14.presence = "visible"

elseif (DropDownList1==1 or 2 or 3 or 5 or 6 or 7) then

Table5.presence = "visible"

else TextField14.presence = "hidden"

Table5.presence = "hidden"

endif


Viewing all articles
Browse latest Browse all 5571

Trending Articles