W3C home > Mailing lists > Public > www-html@w3.org > March 2003

Using Buttons in Forms

From: Glass, Mathew <Mathew.Glass@atosorigin.com>
Date: Thu, 6 Mar 2003 11:11:48 -0000
Message-ID: <C7A455A49FBF374C817BB92D230E86B515839D@UKDCX002.uk.int.atosorigin.com>
To: <www-html@w3.org>

I have just noticed that if you name a form, the value of the button doesn't get passed in Request.form where other controls do ( e.g. input). Is there a way to get the value passed?

The original page used a submit button without a formname but I have to do some client side validation and have replaced the submit button with a button running a VBScript sub to do the checking and then submitting the page. I need to name the form to be able to address the form values.

Kind Regards
Mathew Glass
Custom Solutions South
Atos Origin
Tel: +44 (0)1223 394475
Mobile: +44 (0)7736 366737
Fax: +44 (0)1223 420724
This electronic transmission and any files attached to it are strictly confidential and intended solely for the addressee.   If you are not the intended addressee, you must not disclose, copy or take any action in reliance of this transmission.  If you have received this transmission in error, please notify us by return and delete the same.  The views expressed in this electronic transmission do not necessarily reflect those of Atos Origin or any of its subsidiary companies. Although the sender endeavours to maintain a computer virus free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.  Thank You.
Received on Thursday, 6 March 2003 06:13:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:02 UTC