[Zope] validation-onClick
   
    Stefan H. Holek
     
    stefan@epy.co.at
       
    Thu, 23 Nov 2000 12:38:18 +0100 (CET)
    
    
  
On Thu, 23 Nov 2000, Angietel wrote:
> The form="a" and its input field="custid" is being validated, when the alert message box came out then i clicked on the 'OK' button which is inside the alert message box, but it return to another page instead return to form="a".
> ( I prefer to use 'onClick' instead of 'onSubmit' )
this is a good choice! onsubmit gives you troubles with some browsers.
> <input type="SUBMIT" name="Search" value="Search" onClick="JavaScript:checkid()" > 
make this <... onclick="javascript:return checkid();">
Regards,
Stefan