'Twas brillig, and Tim Fountain at 03/02/09 14:23 did gyre and gimble:
Sorry, my example wasn't very clear. The 'name' of the elements would be what you'd check in your application logic, and these are never shown to the user. 'Approve' and 'Reject' would be the 'value' of the submits, so these could be anything depending on your i10n settings.

I think it was me who wasn't seeing it :)

Yup, I see what you mean. Just check to see that !empty($_POST['btnAccept']) and you're happy.

Fair point, but I still say it's ugly on a GET form when all you want is a ?q=fooo style argument but I accept the usefulness of being able to submit, erm, submit elements... just not in all cases :)

Like I said already tho', I should be able to do that if I poke about enough.

Cheers

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