Clearing a checkbox based on another field

  • 4 December 2017
  • 3 replies
  • 44 views

Badge +5

I have a form in which an end user will select (dropdown) option YES if data is ok or NO if there are issues. If they choose NO they also have to select reasons (checkboxes) why.  In the event an end user selects NO and chooses reasons THEN switches to YES and then submits the form -- the checkboxes are left populated.  I would like to clear the checkboxes if the end user decides to change the option to YES and submit. 

Current solution: If the end user selects YES after selecting NO and has checked reasons why, they are prompted to go back and manually clearing  out all check boxes which involves temporarily switching back to NO. 


3 replies

Userlevel 4
Badge +12

Hi Michelle,

right now you will have to provide a little javascript to achieve your goal. This thread explains what needs to be done:

 

Best regards

Enrico

Badge +5

Thank you

Badge +3

Hi Enrico,

I do not find the thread you are talking about!

Any help?

Thanks,

Trish

Reply