W3C home > Mailing lists > Public > public-html@w3.org > May 2007

Re: Several button "Submit"

From: Diego La Monica <me@diegolamonica.info>
Date: Wed, 2 May 2007 19:17:27 +0200
Message-ID: <e4cd4de70705021017q551e6905h739c8cfb395dbe7f@mail.gmail.com>
To: "Dmitry Turin" <html60@narod.ru>
Cc: public-html@w3.org
I'm not agree with another unuseful attribute for input tag.

(Dmitry Turin):
Now <submit> has inscription, equal to sending value
(equal to attribute "value").
Sometimes it's necessary, that inscription and sending value will be
different.

Let's add one more attribute "text",
which will be displayed as inscription (if attribute is specified).

(Diego La Monica):
I think your talking about <button> tag.

Your example:
(Dmitry Turin):
<input type=submit name=task value=copy   text=operation1>
<input type=submit name=task value=move   text=operation2>
<input type=submit name=task value=delete text=operation3>
(Diego La Monica):
Above hypotetic example is obtainable by the following code:

<button type="submit" value="copy">Operation1</button>
<button type="submit" value="move">Operation2</button>
<button type="submit" value="delete">Operation3</button>


-- 
Diego La Monica
Web: programmazione, standards, accessibilità e 2.0
Brainbench certified for RDBMS Concepts (transcript ID # 6653550)
W3C HTML WG IWA/HWG Member
Web Skill Profiles WG Member ( http://skillprofiles.eu )
phone +390571464992 - mobile +393337235382
MSN Messenger: d.lamonica@tosend.it
Email: me@diegolamonica.info
Skype: diego.la.monica - ICQ #: 249-460-264
Web: http://diegolamonica.info
Received on Wednesday, 2 May 2007 20:30:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT