We have started work on converting all of our forms from Classic to Designer Mode. One thing I noticed was that when the Confirm Email field has been specified on an Email field, the Confirm Email value clears out on subsequent steps in the process. Thinking the Confirm Email field might now function like the Signature field, I made this field Read-Only on subsequent steps, and this did not appear to work either.
Any suggestions on things to try here to carry the Confirm Email field through the process would be appreciated!
Question
Question
Confirm Email field in Forms Designer clearing out on subsequent submissions
Replies
This is a feature I had not tested through multiple steps yet. This is a pretty big pain point to use this feature. It is basically making each person at each user task re-enter the email address for verification. Definitely need a way to keep the value from the initial user that verifies the email address.
Until then, a workaround would be to create two forms, one that verifies the email address and one that doesn't and assign them accordingly to users tasks.
That's very similar to what one of my coworkers did here in the interim.
We have some JavaScript that we were able to use in the Classic Designer to compare email fields but apparently all the JavaScript used in Classic has to be rewritten to be used in the Modern Designer. Is there any guide or examples for doing that?
This is what the old JavaScript looks like:
$(document).ready(function () {
$('.email, .confirm').on('blur input', function () {
if ($('.email input').val() != $('.confirm input').val()) {
$('.Submit').attr("disabled", "disabled");
if ($('.warningText').length > 0 || $('.confirm input').val() == ''){
return;
} else {
$('<p class="warningText">The email addresses you entered do not match.</p>').insertAfter('.confirm');
}
}
else
$('.warningText').remove();
$('.Submit').removeAttr('disabled');
});
});