I have a curious problem that I can't figure out. There doesnt seem to be a logical reason why it doesnt work
Form Structure
Two pages - pagec20_1, pagec40_1
Each page has a hidden subform which contains a rectangle and some controls. They also have a close button which hides the subform.
pagec20_1 subform is called setupPageC20
pagec40_1 subform is called setupPageU10
I have a button on each page which when clicked shows the subform.
The problem i am having is that when i click the button on pagec20_1 it shows the subform ok, but clicking the button on pagec40_1 does nothing. It also works vice versa after reloading the form, click the pagec40_1 button and the subform shows but then pagec20_1's button doesnt work. I cant figure why one seems to be stopping the other. I need both to be able to show their subforms.
My code is very simple:
pagec20_1 button click javascript - this.resolveNode("pagec20_1.setupPageC20").presence = "visible";
pagec40_1 button click javascript - this.resolveNode("pagec40_1.setupPageU10").presence = "visible";
Each subform's close button is the same but with hidden rather than visible. You can see above, i even referenced the page to ensure there was no mistaking which subform to show.
Has anyone else encountered this where one button works but not the other and when you restart the can both work oppositely too?