Not really a js guy, but I was wondering if someone could help me
with a small problem I am having. A simple problem and probably very
easy for someone who knows...
I am running an email validation script which works very well, but it
only works when I have just one form element on the page.
Hi,
The forms[0] part of document.forms[0].email.value.length
refers to the first form on the page. forms[1] would be the
second form on the page. That's why it's bombing. You can
either use forms[1] in your example, or you can name your
form.
For instance:
FORM name=Email_Form METHOD=POST
Thanks, I will give it a try...
Hi,
The forms[0] part of document.forms[0].email.value.length
refers to the first form on the page. forms[1] would be the
second form on the page. That's why it's bombing. You can
either use forms[1] in your example, or you can name your
form.
For instance:
FORM