Upon loading the BiWeeklyForm is hidden as are both ButtonBorders. In preview mode, only the WeeklyButton Objects show a clickevent (hand with finger) upon hover. The BiWeeklyButton Objects do not. No action occurs when either set of objects is clicked.
Not quite sure I understand what you’re trying to do, but anyway, in order to run a function you should call it using parentheses - () .
so change all of your ‘ShowBiWeekly’ to ‘ShowBiWeekly()’ and ‘ShowWeekly’ to ‘ShowWeekly()’ inside the event handlers.
‘#WeeklyButton’ has configured ‘onClick’ to be ‘container3_click’.
But you don’t have that function at your code.
My suggestion,
Use the properties panel to create new ‘onClick’ functions.
Also, having an ‘onClick’ on all of the elements will make the ‘show()’ and ‘hide()’ run multiple time and can ruin your intention.
For example, let’s say you have the border box over the button box… then, if you set ‘onClick’ for both of them… both will run…
So you should only have one ‘onClick’ - set for the upper element box (the border in your case).
Thank you, with your help I was able to get this to work. The one additional thing I need to add was to call the function when the group for below the button border is clicked because the button border is sometimes hidden.