C
Charlotte
Hi,
(sorry for my english)
I'm having a problem with multiple forms on the same page
all the fields in all the forms will be checked that they are not empty
like this:
<form action="..." name="FormOpleiding" onSubmit="return
CheckFormOpleiding();">
and the function:
function CheckFormOpleiding()
if (document.FormOpleiding.opleiding.value==""){
errorMsg += "xxxxxxx";
}
.... etc ...
must do the job
the problem is that the forms are placed in the page by a script with ASP
so there are several forms with the same formname
in this case with the formname -FormOpleiding-
how can I dynamicly give the forms an other name
and dynamicly check that form with a function
are is there an other solution ?
thanks
charlotte
(sorry for my english)
I'm having a problem with multiple forms on the same page
all the fields in all the forms will be checked that they are not empty
like this:
<form action="..." name="FormOpleiding" onSubmit="return
CheckFormOpleiding();">
and the function:
function CheckFormOpleiding()
if (document.FormOpleiding.opleiding.value==""){
errorMsg += "xxxxxxx";
}
.... etc ...
must do the job
the problem is that the forms are placed in the page by a script with ASP
so there are several forms with the same formname
in this case with the formname -FormOpleiding-
how can I dynamicly give the forms an other name
and dynamicly check that form with a function
are is there an other solution ?
thanks
charlotte