The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Making this form work, Making this form work
Pointybrows
post 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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<!--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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<!--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):&nbsp;&nbsp;
<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>&nbsp;&nbsp;
<textarea rows="8" name="S1" cols="35"></textarea>&nbsp;&nbsp;
<input type="submit" value="Submit" name="B1"></p>
<input type="hidden" name="recipient" value="email@email.com">
</form>

Thanks in advance.

Pete
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jan 6 2013, 02:00 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(Pointybrows @ Jan 6 2013, 05:30 PM) *

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.
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 09:23 AM