Expand my Community achievements bar.

How come the same script only works in one form?

Avatar

Former Community Member
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

Avatar

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