JPMORGAN & CHASE CO. JPMC EMAIL ADDRESS JQUERY SCRIPT
This task was a little outside the box of the normal campaign work I usually worked on. JPMC requested there be a way that their opt-out form would require a check to ensure that a valid email address was being used and that there be a way that the button would not submit anything unless one of the opt-out options was checked.
In order to satisfy their needs, I created a jQuery/Javascript form that checked for valid email addresses (i.e. testall@gmail.com). I also had the same parameter set to the second "Verify Your Email Address" section as well as a piece of script to check if they matched. If the two fields are valid, green checkmarks appeared next to the text field as a visual for the customers.
In order for the user to press submit, they must select either one of the opt-out options. If the user does not have a valid email address, mismatched email addresses, or an opt-out option is not selected, the live version of the submit button remains grayed out.
Due to security reasons, the live version of this page cannot be shown and the preview above does not show the final product.