Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Scripts Not Working

Avatar

05-12-2008

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

Replies

Avatar

05-12-2008

Hi Pat,



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