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.

On Tue, 2006-01-31 at 15:21 +0100, Geert Bevin wrote:
> Hmm, actually that's a good point.
> 
> It's better to use the submit input field's name attribute to  
> differentiate since then you're not bound to the displayed text value.
> 
> On 31-jan-06, at 15:14, JR Boyens wrote:
> 
> > I like this proposal since it saves me the pain of checking a submit
> > name in a localized website. Reduces my code in things like Bamboo  
> > (for
> > message previews) down about 25 lines.
> 
> --
> 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
> [email protected]
> http://lists.uwyn.com/mailman/listinfo/rife-users

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to