On May 28, 5:55 pm, petersprc <peters...@gmail.com> wrote:
> In PHP, you could check like so:
>
> if (!isset($_REQUEST['name'])) {
> die('Name is required.');
>
> }
>
> You can do it on the client side with javascript like so:
>
> http://www.yourhtmlsource.com/javasc...alidation.html
>
> On May 28, 3:56 pm, "Mr.G (@¿@)" <goo...@netzero.net> wrote:
>
> > Hi, I'd like to know what a PHP would look like to "catch" a form that
> > was not completly filled out but they hit Enter and the form
> > terminates. Thanks in advance.
But if Javascript is turned off you have a problem.
Next to submit I put a "finished" checkbox, that way if it isn't
checked I know not to act on the entry (just in case it was a mis-
entry or they want to test validation before finalizing.)