Re: Using switch() to process a set of forms
| From: | Franklin van de Meent | Date: | Tue, 08 Mar 2005 11:39:49 +0000 |
| Subject: | Re: Using switch() to process a set of forms | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210213@lists.php.net to get a copy of this message | ||
On Mon, 07 Mar 2005 19:19:24 -0600, Greg Dotts
<listmember@dottsfamily.com> wrote:
> Sure enough Kirk! That was it. Seems strange that you can set a
> name/value pair on the <form> tag, but they aren't used. Guess they
> were just kidding ;-)
The name attribute is used in javascript, for example when you are
changing a field value: document.formname.fieldname.value = 'foo';
The value attribute does not exist for the form tag, go to
http://www.w3schools.com/tags/tag_form.asp
for a list of allowed
attributes