RE: bad form...
| From: | Andrew Chase | Date: | Wed, 20 Jun 2001 16:16:33 +0000 |
| Subject: | RE: bad form... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54562@lists.php.net to get a copy of this message | ||
As long as your code is well-formatted and well-commented, I don't think
it's a problem, especially for simple forms for quick DB inserts or sending
e-mail. You can do nice error handling without annoying Javascript alerts,
too; when the form is submitted you can check for missing/invalid field
values - if anything is wrong, just output the form again, but this time
prepopulate the valid fields and highlight the missing ones with red text or
a red outline.
-Andy
> -----Original Message-----
> From: motorpsychkill [mailto:ak-47@americanmotorcycle.com]
> Sent: Wednesday, June 20, 2001 12:13 AM
> To: Php General List
> Subject: bad form...
>
>
> hello everyone, is it 'bad form' (no pun intended) to have a form point to
> itself for processing, rather than forward the form variables to another
> page? Anybody have any input on this? I try to have 1 page that is the
> form and handles all the processing as well in order to keep the
> page count
> on my site low and for easier editing, blah blah blah....
>
> thank you for you help!
>
>