RE: [PHP] forms
| From: | cj | Date: | Tue, 14 Jan 2003 01:53:30 +0000 |
| Subject: | RE: [PHP] forms | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131500@lists.php.net to get a copy of this message | ||
Would you know of any tutorial web sites which would explain how to do this?
As I have not done any java programing before.
-----Original Message-----
From: Cal Evans [mailto:cal@calevans.com]
Sent: Tuesday, 14 January 2003 12:43 PM
To: cj@itonsite.com.au; php-general@lists.php.net
Subject: RE: [PHP] forms
yes but it's more of an HTML/JavaScript thing.
use INPUT Type='BUTTON' to put a second button on your form. Then use the
onClick method to assign an action to it. If you want it to submit your
form then call document.formName.submit();
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-----Original Message-----
From: cj [mailto:cj@itonsite.com.au]
Sent: Monday, January 13, 2003 7:32 PM
To: php-general@lists.php.net
Subject: [PHP] forms
G'day All
Just a quick question
This is really a html more than a php question.
Is it possible to have two buttons and have different actions for each
button in the same form?
Thanks
CJ
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php