Many thanks :)<br><br><div><span class="gmail_quote">On 5/17/07, <b class="gmail_sendername">Andy Street</b> <<a href="mailto:mail@andystreet.me.uk">mail@andystreet.me.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 17 May 2007 11:43:19 +0100 "Nick Black" <<a href="mailto:nickblack1@gmail.com">nickblack1@gmail.com</a>><br>wrote:<br><br>> Q1:  How can I stop the form from submitting if the details aren't
<br>> correct?<br><br>Change the onclick in the submit button to the following:<br><br>  onclick="return formValidation();"<br><br>Then return false from the function whenever you wish to stop the form<br>submitting.
<br><br>Regards,<br><br>Andy<br><br>_______________________________________________<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev">
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Nick Black<br>--------------------------------<br><a href="http://www.blacksworld.net">http://www.blacksworld.net
</a>