Nothing wrong with the idea, but if you are keen on onSubmit for the form,
you can set the ExtraHtml property for the Page.
Aby
> -----Original Message-----
> From: VASWANI,ANISHA (HP-SanJose,ex1) [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 08, 1999 12:22 PM
> To: 'Mathew, Aby'; '[EMAIL PROTECTED]';
> '[EMAIL PROTECTED]'
> Subject: RE: [ND] Stoping ND Web events using JavaScript
>
> Hi Juan,
>
> This works for me:
>
> On the button that submits the form, I put the following event handler in
> the ExtraHtml property within Studio:
>
> onClick="return validate()"
>
> The validate() JS function returns a true/false and if it returns false,
> the
> form is not submitted.
>
> Regards,
> Anisha
>
>
>
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]