make one a submit and the other a button?

I quite often use mutiple buttons in one form to do different things in
others.

eg.
<input type="submit" value="Go"> <input type="button"
onclick="document.myOtherForm.submit();return false;" value="Delete">

> -----Original Message-----
> From: Paul Johnston [mailto:[EMAIL PROTECTED]]
> Sent: 28 January 2003 16:11
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] Submit buttons
> 
> 
> Two submit buttons on one form.  One does one thing, one another
> (surprisingly).
> 
> However, I've forgotten how to say which one is the default 
> if the user hits
> return...
> 
> 'scuse me for being a muppet, but...
> 
> Anyone?
> 
> Paul
> 
> -------------------------------------------
> Paul Johnston
> PJ Net Solutions Ltd
> http://www.pjnetsolutions.com
> [EMAIL PROTECTED]
> +44 (0)7866 573013
> 
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to