|
Posted by Adrienne Boswell on December 9, 2007, 4:59 am
Please log in for more thread options Gazing into my crystal ball I observed Adrienne Boswell
69.28.186.121:
> Gazing into my crystal ball I observed Steve Swift
>
>> Faced with:
>><BUTTON NAME=ORDER VALUE=1 TYPE=SUBMIT>Order</BUTTON>
>> Internet explorer sends "ORDER=Order" rather than "ORDER=1".
>>
>> Is there any way to persuade it to do what was intended, to submit
the
>> actual VALUE of the button rather than its caption?
>>
>> Is there any HTML proposal to add add an extra parameter to the
><SUBMIT>
>> control (something like USEVALUE) so that IE would have to implement
> it
>> properly, and we could write sensible CGI scripts?
>>
>
> It's a known bug in IE. The only thing you could do is use
javascript,
> but then you could still have a user with js turned off submit an
> incorrect value.
>
> You could assign a name attribute to input type="submit", eg: <input
> type="submit" name="1" value="Submit"> or you could put the value in a
> type="hidden" input element.
>
In addition:
http://msdn2.microsoft.com/en-us/library/ms535211.aspx and
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info Please respond to the group so others can share
|