'Twas brillig, and Tim Fountain at 03/02/09 10:00 did gyre and gimble:
There can be good reason to include the name attribute on submits. E.g. your form might contain two submit buttons ('Approve' and 'Reject'), and you use the submitted name in order to determine which was pressed.

Personally, I don't like that approach as it use UI/i10n elements to determine application logic.

'Approve' and 'Reject' would have to be compared to their i10n versions in a multilingual app and it just doesn't feel right to do that. Perhaps I'm alone with this opinion tho' :)

Col

--

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

Reply via email to