Web Page Form
#1
Anyone got an example or template of a fill-in form that doesn't need server-side components?
Looking to do a form (with some compulsory fields) that a viewer can fill in. Once its filled in, then its "submitted" but in essence emailed to me. However, the user doesn't get the impression that it was emailed.
Using Demon webspace & haven't got access to IIS & stuff. Not sure if I can run executables there or not (will be finding out I guess!).
KISS is also my motto
Looking to do a form (with some compulsory fields) that a viewer can fill in. Once its filled in, then its "submitted" but in essence emailed to me. However, the user doesn't get the impression that it was emailed.
Using Demon webspace & haven't got access to IIS & stuff. Not sure if I can run executables there or not (will be finding out I guess!).
KISS is also my motto
#3
Puff,
I've done this in the past by having 2 forms on the pages, 1 displayed and one hidden. The displayed form runs a JavaScript function which carries out your validation and then sets the values in the hidden form and then submnits the hidden form which can be a mailto: as mentioned.
Rich
I've done this in the past by having 2 forms on the pages, 1 displayed and one hidden. The displayed form runs a JavaScript function which carries out your validation and then sets the values in the hidden form and then submnits the hidden form which can be a mailto: as mentioned.
Rich
#4
You can do it two ways: try to use a mailto URL (fudging it, obvious to the user) or use the Demon form-mail.pl script...
For "mailto":
Just make the "action" be a mailto URL. Needs a compatible browser, but it'll do...
I'd use some javascript for client-side validation of the fields as you can't use the server to do it
There's no way of making the mail invisible to the end user, especially considering the steps MS has taken recently to try and secure outlook and outlook express. The user will be informed. Nowt you can do about that really.
For the "proper way"
Demon do have a small script to do just what you want on the server - see the form-mail.pl support pages
Hope this helps,
Nick.
(edit to make it a bit clearer as I remembered about demon's form-mail at the end of writing )
[Edited by chiark - 9/10/2002 9:07:04 AM]
For "mailto":
Just make the "action" be a mailto URL. Needs a compatible browser, but it'll do...
I'd use some javascript for client-side validation of the fields as you can't use the server to do it
There's no way of making the mail invisible to the end user, especially considering the steps MS has taken recently to try and secure outlook and outlook express. The user will be informed. Nowt you can do about that really.
For the "proper way"
Demon do have a small script to do just what you want on the server - see the form-mail.pl support pages
Hope this helps,
Nick.
(edit to make it a bit clearer as I remembered about demon's form-mail at the end of writing )
[Edited by chiark - 9/10/2002 9:07:04 AM]
Thread
Thread Starter
Forum
Replies
Last Post
oilman
Trader Announcements
15
01 October 2015 11:55 AM