[phplib] Oohforms and submit buttons From: Paul Smith (paul <email protected>)
Date: 06/12/01

If you're using oohforms, one way to set things up is to have the form
action be $PHPSELF, then check for the existence of the submit button
to do error checking. However, if there is only one <input type="text">
element in a form, and you hit return within that element to submit the
form, the submit button doesn't get passed to the action page. You have
to click it with the mouse.

Is there a better way to do this? How can you check that a form has been
submitted without relying on the submit button?

-- 
Paul Smith <paul <email protected>>
InfoTech Designer
Center for Neighborhood Technology
Chicago, Illinois USA

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>