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.
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.