Expand my Community achievements bar.

Setting the presence of a subform w/ a check box

Avatar

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

}
3 Replies
page footer