Posted: Fri Jan 18, 2008 10:37 pm Post subject: FORM VALIDATION: adding "restrictions" to email fi
I have a simple javascript form validation, but am trying to add another piece to the "email" area whereas people cannot insert certain emails (hotmail, yahoo, etc.). Does anyone have some intuition as to the direction to point me? Your assistance is greatly appreciated!!!
[code:1]<script language="JavaScript" type="text/javascript">
//You should create the validator only after the definition of the HTML form
var frmvalidator = new Validator("sub");
frmvalidator.addValidation("first_name","req","Please enter your First Name");
frmvalidator.addValidation("last_name","req","Please enter your Last Name");
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum