Indeed, iirc, as long as the submit field has a name, it'll be sent as a parameter.
Just try this locally:

<html>
<body>
<form action="" method="get">
<input type="input" name="data" />
<input type="submit" name="save" />
<input type="submit" name="delete" />
</form>
</body>
</html>

On 31-jan-06, at 15:52, Raoul Pierre wrote:


Right, but unless I'm not quite awake yet, I believe that if you have a form, each submit button must have the same name and a different value. Hence you CAN'T just check the name, you have to check the value against
the l10n value.

No, the only obligation is be able to differentiate each button of same type by at least one attribute.

Pierre




_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to