Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Scripts Not Working

Avatar

Former Community Member
New to LiveCycle working on using scripts to make fileds and subforms visible and invisible. I can get it to work fine when I'm modifying some of the example files. Whenever I create a new form and add a script it doen't work.

For example...



TextField1.presence = "invisible";



When I add this script in one of the examples to a button it works fine, when I add it to a new form I create...nothing. I've double check and made sure that I picked Java Script and that the form default is set on "interactive". What am I doing wrong.



Thanks,

Patrick
2 Replies

Avatar

Former Community Member
Hi Pat,



Is your form saved as Dynamic? You can't manipulate object presence in a Static Form.