On Wed, 2007-03-14 at 17:23 -0500, Richard Lynch wrote:
> On Wed, March 14, 2007 12:28 pm, Brad Fuller wrote:
> > You could also omit the "name" parameter of the submit button and it
> > will
> > not even be passed at all.
> >
> > <input type="submit" value=" Submit Form ">
> 
> I dunno about these new-fangled browsers, but in the old ones, you'd
> get "Submit" as the name if the user clicked on the button, and
> nothing if they just hit "enter" in a form field...

Can't rely on that these days. Don't remember which, but at least one of
them sends the first encountered submit button.

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to