Forum Moderators: mack

Message Too Old, No Replies

How to make quote request form?

- information request form

         

ansatzjp

11:24 pm on Jan 14, 2006 (gmt 0)

10+ Year Member



Hi. How can I make a quote request form field on website? Ideally, the information given to the field will be directed to emails automatically: it's like you fill the forms on insurance premium request form and the information automatically sent to several agents.

Thanks in advance.

MichaelBluejay

6:28 am on Jan 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You need to link your HTML form to a formmail script. Your webhost may already have one installed that you can use, check with them. In general, your form will look something like this:

<form action=http://YourHost.com/formmail.pl method=post>
<input type=hidden name=recipient value=youremail@domain.com>
<p>Name: <input type=text name=name>
<p>Email: <input type=text name=email>
<p>Message: <textarea name=message</textarea>
<input type=submit name=submit value=submit>
</form>

The "http://YourHost.com/formmail.pl" is just an example. You'll need to see what your host's formmail address is, if they even have one. If not then you can download a formail script off the net and upload it to your server. They're easy to find.