View Single Post
  #4 (permalink)  
Old February 4th, 2005, 06:58 AM
ChrisScott ChrisScott is offline
Friend of Wrox
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post

You can perform validation when the form is submitted using the forms onsubmit event...
<form name="myFormName" onsubmit="return check_date(;">
You will also need to update your function to return true / false depending on whether or not the field passes validation to prevent the form submitting.



Reply With Quote