AnsweredAssumed Answered

Clear data in a panel

Question asked by santhea on Jan 19, 2016
Latest reply on Jan 20, 2016 by fhunth


I have a form with a choice control at the top (only two choices contained) based on the selection the next panel will display.  This panel also contains nested panels wtith yes/no check boxes that must contain data.  However if the user decides the selection at the beginning of the form needs to be changes from A to B and you don't uncheck the selections already the form will error because of the rules in place on the now hidden panel.

 

Is there some type of java script I could use to manage this so if the selection at the beginning that controls the show/hide panels changes it clears any selections already made before hiding?

Outcomes