Dolores and  DARREN,
    I guess, you can use the onSubmit event of a form. If the user has clicked
any other button so as to submit a form, a flag can be set. If the flag is not
set the event handler for "submit" should reset the form
    I hope this helps
swaroop.


"DARREN KHOO, CUSD" wrote:

> By inserting some javascript code, I think you can reset the form in the
> page without going to the backend.
>
> But first of all, the image type button does not have an onclick javascript
> event (at least in Navigator 4.07, I don't know abt other versions). Try
> using a href object that contains an image tag and add javascript codes to
> reset the form in the onclick event.
>
>         <a href="..." onclick="document.forms[0].reset()"><img
> src="..."></a>
>
> > -----Original Message-----
> > From: Dolores Lam [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 20, 1999 10:02 PM
> > To:   ND Forum
> > Subject:      [ND] Reset
> >
> > Is it possible to make a custom button of type Image do a Reset by
> > calling some method? A previous forum item suggest doing a return(load).
> > That works but it takes a while to load the page. Thanks for any
> > suggestion.
> >
> > _________________________________________________________________________
> >
> > 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]
> _________________________________________________________________________
>
> 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]

--
______________________________________________________
Smile, it makes people wonder what you are thinking!!
Visit me at http://fly.to/swaroop


_________________________________________________________________________

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]

Reply via email to