Hello,
Newb question (⌒_⌒;)
Could someone please help me to get right JavaScript code for the following case?
I'd like to have a button that sets visibility of subform depending on checkbox value. If checkbox is unchecked then subform will be hidden otherwise it will stay visible.
I've tried something like this but it's not working:
topmostSubform.Page1.Subform1.Param.Buttons.Hide::click - (JavaScript, client)
if (topmostSubform.Page1.Subform1.Param.base.Checkbox1.rawValue == "0") then {this.resolveNode("topmostSubform.Page1.Subform1.Param.base").presenc e = "hidden";}