[thelist] form/image button problems

Dave Fitch lists at dere-street.com
Tue Mar 20 06:18:09 CST 2001

On 19/3/01, Joshua OIson said:

>The existence of button.x in the URL fields is indication that the submit
>button named "button" was clicked.  If you have two buttons, give the second
>button a different name, say button2, and you will find that button2.x is
>returned while button.x is not if they click the second button.

Is there an elegant way of detecting this though?? At the moment I've 
got this to work by checking the queary string for 'button.x' and 
'button2.x' but am sure there's a better way of doing it...?
Dave Fitch, lists at dere-street.com  <http://www.dere-street.com/>
web design : stock photography : writing : research 

More information about the thelist mailing list