$(document).ready(function(){
//This script makes sure something is in the email field before continuing.
//It does NOT validate the email. However, SVC seems to already have some validation.
$("#NewCustomerForm").submit(function(event){//When the continue button is clicked
if( $("#NewCustomerEmail").val().length < 1 ){//if there is nothing in the email field
$("#NewCustomerEmailContainer").addClass("AmsError");//change the styling of the div
event.preventDefault(); //prevent form submission.
}
});
});
} ) ( jQuery );