I have two forms, Initiator and Doc Control. The initiator can check a box if the record they are submitting needs to be HIPAA safeguarded. This information populates just fine when sent to Doc Control. The issue is when the form is rejected back to Initiator, the choice made originally disappears. Here's my info!
The initiator can check/uncheck at his/her leisure. If HIPAA is checked by initiator, that field will be "read only" for Doc Control, however, Doc Control can check the box if required.
When rejected back to Initiator, all values disappear.
Initiator code:
$(document).ready(function(){ $('.tag').hide(); //HIPAA Safeguards change event handler $('.hipaa input').on('change', function(){ var check1 = $('.hipaa input').prop('checked'); if (check1 == true) { $('.tag input').val("HIPAA"); } else { $('.tag input').val(""); } }); }); //close document.ready
Doc Control code:
$(document).ready(function(){ $('.tag').hide(); //HIPAA Safeguards change event handler $('.hipaa input').on('change', function(){ var check1 = $('.hipaa input').prop('checked'); if (check1 == true) { $('.tag input').val("HIPAA"); $("#Field181-0").prop("disabled", true); } else { $('.tag input').val(""); } }); $(".hipaa input:checked").each(function(){ $(this).trigger('change'); }); }); //close document.ready
The business process is pretty simple:
Any ideas?