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 = false;
}
return valid;
}
//-->
</script>
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 = false;
}
return valid;
}
//-->
</script>