Again, I'm trying to validate a form, in my fields i have onblur="validate_form()"
and the function is:
<script type="text/javascript">
<!--
function validate_form()
{
valid = true;
if (document.form.name.var RegExp/^[A-Za-z]/)
{
alert ( "please enter a valid name." );
valid =...
As of now, I am validating my fields to just check that the field was filled in. Now I want to validate the entries further. For name- only alpha characters, zip-only numerical characters, ect. I know I'm going to have to use regular expressions, but as I'm new to regular expressions, I don't...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.