The original source code provided a regular expression for email addresses that only worked if the address was entirely upper case. The following replacement should work better. I've also updated the source code to reflect the new value for the regular expression.
<input type="text" id="email" name="email" size="30"
dojoType="dijit.form.ValidationTextBox"
required="true"
regExp="\b[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}\b"
promptMessage="Enter email address."
invalidMessage="Invalid Email Address."
trim="true"
/>
Comments