RE: [PHP] RE: multiple submit buttons

2001-08-31 Thread Johnson, Kirk
Tim Ward wrote: > Be careful using values of submit buttons ... if the user hits return instead of clicking one of the buttons you won't get anything. If you want a default value try a hidden field before the submits with same name. > Tim, thanks for the tip. I had heard of this behavior before

Re: [PHP] RE: multiple submit buttons

2001-08-29 Thread Andrey Hristov
Maybe it is not supported by CGI but that doesn't mean it is not supported by the browser. There is no reason for IE of course to say "it hurts". When you click first button bth is "Yes", click on second button bth is "No". Also you can have several buttons everyone of them do "submit" with diff