Changing a subform's presence based on drop down selection


for reason cannot subform go visible on form. i'm using formcalc. here formula:

 

if (xfa.event.newtext == "round") (form1.productworksheet.productinformation.product.shape.shapepics.round.presence == "visible") elseif (xfa.event.newtext <> "round") (form1.productworksheet.productinformation.product.shape.shapepics.round.presence == "hidden") endif

 

i've put formula on "change" event on drop down. scripting language set formcalc well. please let me know if i'm missing here. thanks!

maybe problem referencing. if statement if ($.formattedvalue == "round") ....

you 'else' rather 'elseif' if don't have other options.

 

also find drop-downs works better putting script in exit event rather change event.



More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP