Reply to Re: Fake Submit button

Your name:

Reply:


Posted by dorayme on 06/09/07 21:58

In article
<466afa9d$0$97261$892e7fe2@authen.yellow.readfreenews.net>,
"nice.guy.nige" <nigel_moss@deadspam.com> wrote:

> <form action="results.htm">
> <!-- form stuff here... -->
>
> <input type="submit" value="Submit" name="Submit">
> </form>
>

Yes, this works. OP now just needs to make up a "results.htm"
page and put it in the same directory or else modify path in the
action. In this page is whatever he wants to demo, perhaps the
"emailed" data content that comes to the form maker or perhaps a
notice to say the form has been submitted, thanks etc.

Now, how about an elegant way if he wanted to demo an error
message if the form is "incorrectly" filled out on a CD?
Normally, a server side script detects errors and contains the
means to display a notice to this effect. JS instead on the CD?

--
dorayme

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация