
Originally Posted by
NGJ
[...] it just seems to post straight away without any validation at all.
Onegaishimasu, could you give me some example code to demonstrate how you would implement this?
HTML Code:
<form action="..." onsubmit="return checkmail(this.form.elements.____Email) && validateTheDate();">
<!-- ... -->
<input type="submit" value="Submit!">
<!-- ... -->
</form>
If you still have problems, then you need to post a link to a minimal test case as the problem will be unrelated to the intrinsic event listener.
Mike
Bookmarks