Making this form work, Making this form work |
Making this form work, Making this form work |
Pointybrows |
Jan 6 2013, 11:30 AM
Post
#1
|
Group: Members Posts: 1 Joined: 6-January 13 Member No.: 18,389 |
I am trying to build a form using Microsoft frontpage but cannot get it it to work. I have been through a number of forum posts, but so far been unsuccessful.
I am trying to get it so that the data from the form is emailed to me, the user is then take to the home page. Here's the code, can anyone help me to make it right? <form method="POST" name="call_back" action="/cgi-bin/formmail.pl"> <p><font face="Arial">Name: <!--webbot bot="Validation" b-value-required="TRUE" --> <input type="text" name="T1" size="57" value="Enter your name here"></font></p> <p><font face="Arial">Contact telephone number: <!--webbot bot="Validation" s-data-type="Integer" s-number-separators="x" b-value-required="TRUE" --> <input type="text" name="T2" size="37" value="Enter your contact number here"></font></p> <p><font face="Arial">Email address (optional): <input type="text" name="T3" size="39" value="Enter your email address here"></font></p> <p align="left"><font face="Arial">Details of your enquiry:</font> <textarea rows="8" name="S1" cols="35"></textarea> <input type="submit" value="Submit" name="B1"></p> <input type="hidden" name="recipient" value="email@email.com"> </form> Thanks in advance. Pete |
Christian J |
Jan 6 2013, 02:00 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
I am trying to build a form using Microsoft frontpage but cannot get it it to work. FrontPage is a very poor program, I recommand not using it. CODE <form method="POST" name="call_back" action="/cgi-bin/formmail.pl"> Does the server-side script at /cgi-bin/formmail.pl exist, and is it configured properly? See also http://htmlhelp.com/faq/html/forms.html#mailto-form CODE <input type="hidden" name="recipient" value="email@email.com"> This line makes your email address visible to email spam harvesting bots. If it's needed for your server-side script, change to another script. |
Lo-Fi Version | Time is now: 24th April 2024 - 09:23 AM |