Button to show/ hide page templates
I have a check box button on page 1. The following code works to show/hide page 2 . Click the button, show page 2. Unclick the button, hide page 2.
However, it gives me a "bad parameter" despite working. Any ideas?
if(event.target.value!="Off")
{this.getTemplate("2" ).hidden=false;}
else
{this.getTemplate("2" ).hidden=true;}
