Re: Submit hitting enter problem

From: Date: Mon, 11 Nov 2002 06:10:39 +0000
Subject: Re: Submit hitting enter problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-123776@lists.php.net to get a copy of this message
On Monday 11 November 2002 14:04, rija wrote: > Really big thank to everybody, > > But, now, I know what happening, because I check form submit using > isset($_POST['submit']), so if user don't press submit button, > $_POST['submit'] stay null even the rest is already sent. Then my script > send me back to the first page. Like everybody had said "different browsers do different things on ENTER". Some browsers (eg Opera) will submit your form as if you had clicked on the submit button. Others (eg IE), like you've already found out for yourself, submits the form but does not send the submit button. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* If in any problem you find yourself doing an immense amount of work, the answer can be obtained by simple inspection. */

« previous php.general (#123776) next »