i need the ability for my email form to confirm email address after they re-type it. any ideas how to integrate this? here is the website usdamortgagesource(.)com for reference.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i need the ability for my email form to confirm email address after they re-type it. any ideas how to integrate this? here is the website usdamortgagesource(.)com for reference.
ok, so i figured it out after hours of searching. i replaced this code in my html page
<tr><td><label class="formFieldQuestion">E-mail *<br>
<input class=mainForm type=email name=field_5 id=field_5 size=16 value="" style="background-image:url(imgs/email.png); background-repeat: no-repeat; padding: 2px 2px 2px 25px;" />
<br>
</label></td>
<td><span class="formFieldQuestion">Confirm E-mail *<br />
<input class="mainForm" type="email" name="field_6" id="field_6" size="16" value="" style="background-image:url(imgs/email.png); background-repeat: no-repeat; padding: 2px 2px 2px 25px;" />
</span></td>
</tr>
to this:
<tr><td>E-mail *<br/>
<input name="field_5" type="email" id="field_5" size="16" value="" maxlength="40" style="background-image:url(imgs/email.png); background-repeat: no-repeat; padding: 2px 2px 2px 25px;"/></td>
<td>Confirm E-mail *<br/>
<input name="field_6" type="email" id="field_6" size="16" maxlength="40" style="background-image:url(imgs/email.png); background-repeat: no-repeat; padding: 2px 2px 2px 25px;"
onchange="if(this.form.field_5.value==''){
alert('You must first enter your email address above');
this.value='';this.form.enter_email.focus()}
else if(this.value!=this.form.field_5.value){
alert('Your email addresses do not match\nPlease try again.');
this.value='';this.form.field_5.value='';
this.form.field_5.focus()}"/></td>
</tr>