Date: 06/12/01
- Next message: Brian Popp: "RE: [phplib] Cookie Not Being Set"
- Previous message: nathan r. hruby: "Re: [phplib] Cookie Not Being Set"
- In reply to: Paul Smith: "[phplib] Oohforms and submit buttons"
- Next in thread: Paul Smith: "Re: [phplib] Oohforms and submit buttons"
- Reply: Paul Smith: "Re: [phplib] Oohforms and submit buttons"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You can check isset($GLOBALS[HTTP_POST_VARS]) or check whether that one text field is set.
On Tue, Jun 12, 2001 at 03:51:01PM -0500, Paul Smith wrote:
> 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>
-- People who love sausage and respect the law should never watch either one being made.--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: Brian Popp: "RE: [phplib] Cookie Not Being Set"
- Previous message: nathan r. hruby: "Re: [phplib] Cookie Not Being Set"
- In reply to: Paul Smith: "[phplib] Oohforms and submit buttons"
- Next in thread: Paul Smith: "Re: [phplib] Oohforms and submit buttons"
- Reply: Paul Smith: "Re: [phplib] Oohforms and submit buttons"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

