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

Setting the presence of a subform w/ a check box

Avatar

23-07-2008

I have a form with a table used to fill out information for different payment options. There are several check boxes and then a few fields which I have put into a subform associated with the check boxes. The code I have to control the presence is:



topmostSubform.Page1.CheckBox1::change - (JavaScript, client)



if (CheckBox1.rawValue == 1) {

sub1.presence = "visible";

}else if (CheckBox1.rawValue == 0) {

sub1.presence = "hidden";

}

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

23-07-2008

I wouldn't use the change event .....I would use the exit event.

Avatar

23-07-2008

That doesn't change whether the code works or not. Which it still doesn't.