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

How come the same script only works in one form?

Avatar

01-07-2008

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";

}

Replies

Avatar

Avatar
Boost 5
Level 7
gkaiseril
Level 7

Likes

13 likes

Total Posts

456 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Level 7
gkaiseril
Level 7

Likes

13 likes

Total Posts

456 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
gkaiseril
Level 7

01-07-2008

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