Re: GET method and forms....
| From: | Gregory | Date: | Thu, 23 Aug 2001 04:00:05 +0000 |
| Subject: | Re: GET method and forms.... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64039@lists.php.net to get a copy of this message | ||
Use "button" element instead of "submit" like this:
<button onClick="this.form.submit()" value="Submit this form">
Gregory
"Seb Frost" <seb@raceshoot.com> wrote in message
news:BAELJLBLJPDMDLJLPGGMKEEICGAA.seb@raceshoot.com...
> how do I prevent getting &submit=shop%21 in the url window?
>
> <form method="GET" action="page.php4">
> <p>Email address: <input type="text" name="email"
> size="20">
> <input type="submit" value="Shop!"
> name="submit">
> </form>
>
> - seb