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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How come the same script only works in one form?

Not applicable
I made a checkbox that when checked it makes another subform visible. The script works perfect in one pdf. When I used the same script in another pdf (except I changed the variables of course) it doesn't work??????

It's set the same in both scripts. The subform name is exactly "CR" in uppercase. In the Events its set to click*, javascript at the client. Here is the script. Please let me know what's wrong????



if (this.rawValue == 1)

{

CR.presence = "visible";

}

else

{

CR.presence = "hidden";

}
1 Reply
gkaiseril
Level 7
Level 7
You have to have the object referenced correctly and that can include subform and section information.