View Full Version : Forms

Shattered Plastic
09-04-2004, 10:51 PM
I know how to put in a form, but I don't know how to make the submitted [text] go to somewhere specific. eg. my e-mail address, or in another page, like a guestbook.

09-05-2004, 06:58 AM
<form method="post" action="mailto:youremail@whatever.com">

That is for submitting it towards your e-mail.

09-05-2004, 07:38 AM
To make a guestbook, follow this here (http://www.4guysfromrolla.com/webtech/062900-1.shtml) link to show you the basics.

Note that the post above requires the client to have a proper mail program set up to handle mailto links.

Hope this helps

Shattered Plastic
09-06-2004, 12:55 AM
ok thanks

09-06-2004, 05:51 PM
Ideally you'll want to use a server side form submission script, instead of relying on JavaScript, as the later is unreliable, and very limited in what can be submitted. Check out some of the scripts listed here: http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Form_Processing/

09-07-2004, 03:04 AM
Excellent link, thank you.

09-08-2004, 09:40 AM

You may like to try this as well:

<FORM NAME=test METHOD=post ACTION=http://www.serviceprovider.co.xx/pubscripts/formmail.asp>
<INPUT TYPE=hidden NAME=MailTo VALUE=name@email.co.xx>
<INPUT TYPE=hidden NAME=Subject VALUE='Website Information Request'>
<INPUT TYPE=hidden NAME=ReturnURL VALUE=http://www.webname.co.xx/thanks.htm>