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