Another question from me, sorry :-)
I have a webpage with multiple forms in it but where some fields have the same name. Only one form can be used at a time.
I'm making a script that performs a check on the form. But instead of using a checkfunction for every form, I would like to use a single check which can be performed at the active form.
Right now I'm using something like this:
Expand|Select|Wrap|Line Numbers
- if (window.frames["content"].document.FORMNAME.day.value="")
- {
- alert("Date has not been filled in.");
- break;
- }
Anyone have any ideas on this?
Thanks,
Cainnech