I am sure the answer is somewhere, but although I have searched for it I
couldn't find it.
I am doing form validation and I am checking each field using
document.FormName.FieldName.value
My problem is that I am using HTML 4 transitional and if I give a name to
the form (<form name="something">) it will not validate. I also can't use
document.Forms[0].FieldName because I have multiple forms in each page.
The ID tag doesn't seem to work either (I mean just replace 'name' with
'id').
So, the question is how can I access the form and validate at the same time?
It would be best if someone can direct me to a tutorial that included
cross-browser compatibility (supporting DOM3 and previous versions).
Thank you very much in advance and sorry if this is stupid.