Form validation in NN4 when form in DIVLocked
My page is simple:
<.div id="Layer1" style="position:absolute; left:50px; top:53px; width:101px; height:46px; z-index:1">
<.form action="otherpage.htm" method="post" name="form1" onSubmit="return validate();">
<.input type="text" name="textfield">
<.input type="submit" name="Submit" value="Submit">
(NOTE: The “dots” were added above in the tags so my post does not contain HTML code. They do not appear in my actual page code!)
See – nothing but a single form with a single textfield. Move the form out of the DIV tag – it works fine. Put form back in DIV tag – it doesn’t work (validates, but never “returns false” – it still submits)!
How can I validate a form that’s inside a layer?!?!