I am using the following javascript to make 2 checkboxes read-only in specific steps of my process. I am using the same form in all of my steps. Step 66 is my Processing step. The problem is that if I check one of the boxes in my Review step, then reject it back to Processing, and then send it back to Review again, when it hits review the box is UNchecked!
If I comment out this code the box stays checked, but of course then this field is editable in the Processing step and I want it to be read only.
$(document).ready(function() { if($('input[name="stepid"]').val() =="1" || $('input[name="stepid"]').val() =="66") { $('#Field400-0').attr('disabled', true); $('#Field400-1').attr('disabled', true); } });
What am I doing wrong?
Thanks in advance!