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").presence = "hidden";}
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
Checkbox1.rawValue == 0
not "0"
Views
Replies
Total Likes
damn it! Those little quotation marks.....
I already did figure it out awhile after I posted my question
Thanks anyway!
Views
Replies
Total Likes