You are viewing limited content. For full access, please sign in.

Question

Question

How to blank out radio button for next user task

asked on May 8, 2020

I have a form that requires a person to click into a radio button for a Yes/No question which directs the gateway to the next user task.  Yes is to forward to another user to add input at the same level. No is basically stating "All Complete, send to Approver".  People were answering this question one way and then hitting the wrong submit button and ending up at the wrong stage of the process.  So this week, I altered the gateway to respond to the radio button instead of the submit buttons pressed.  Now this is happening:  If a previous person had clicked into Yes (needs more input) and the current user adds the input, but does not change the radio button, the form still ends up at the wrong stage!

Could someone help me with JavaScript that would clear out the radio button each time the form is sent to another user task?  This would force the current user to review the "required" radio button question.

0 0

Replies

replied on May 8, 2020

I found another post (I had looked but missed it!) with the answer.

$( document ).ready(function() {
  
  $('.radio input').removeAttr('checked');

});
2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.