Reply to Re: Fake Submit button

Your name:

Reply:


Posted by nice.guy.nige on 06/10/07 00:06

While the city slept, dorayme (doraymeRidThis@optusnet.com.au) feverishly
typed...

> 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?

These are all extremeley well put points, but I was just doing as I was told
and giving the OP a way to present the page that s/he wanted presented when
the submit button was pressed your honour ;-)

Cheers,
Nige

--
Nigel Moss http://www.nigenet.org.uk
Mail address will bounce. nigel@DOG.nigenet.org.uk | Take the DOG. out!
"Your mother ate my dog!", "Not all of him!"

[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

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