PDA

View Full Version : Close to completing form



ddpromo1
28 Jun 2007, 06:53 PM
WISYWIG is just not getting what I want when creating my form.

I'm trying to capture my traffic, by offering a free ebook. Common, no brainer form to some, but not me. I want to get a name and email address, upon submit direct them to a page to download ebook (Simple).

Tested it out and when I hit submit, it opened up outlook mail program to send message to my email address (which I want), but I want to direct them "thank you" page with download file, without an added steps (sending email to me, then waiting to receive download link).

Anyway, here's the code and link where form is at..

<form action="mailto:ims@advertisingagency1.com?subject=Free_Real_Estate_Demo" method="post" enctype="multipart/form-data" name="form1">
<p>See For Yourself Download Our Free Demo!</p>
<p><img src="/realestguide.png" width="269" height="334"></p>
<p>Name:
<input name="textfield" type="text" value=" " maxlength="20">
</p>
<p>E-mail:
<input name="textfield2" type="text" value=" " maxlength="20">
</p>
<p align="center">
<input type="submit" name="Submit3" value="Submit">
<input type="reset" name="Submit4" value="Reset">
</p>
<p>&nbsp; </p>
</form>

http://www.advertisingagency1.com/RealEstateSalesTool.htm

Thanks,

David D.

ddpromo1
29 Jun 2007, 09:29 AM
went to tectite.com downloaded new php form from wizard.

Where do I put htm page to direct visitors to download ebook after they submit?

<html>
<head>
<title>Sample form for use with formmail.php</title>
</head>
<body>
<p>This form demonstrates the use of formmail.php.
<br />Note that formmail.php requires a one line change
to work. Use a text editor to read the information
at the top of formmail.php.
</p>
<p>Also, you need to change this form using a text editor;
follow the 4 simple steps shown in the comments.
</p>
<p>We've included sample fields to show you how to
submit Checkboxes, Radio Buttons, Multi-selection
List Boxes, normail Text fields, and Text Areas.
</p>
<p>
For full information and support, visit
<a href="http://www.tectite.com/">www.tectite.com</a>

</p>
<p></p>
<!-- STEP 1: Put the full URL to formmail.php on your website in the 'action' value. -->
<form method="post" action="http://www.advertisingagency1.com/Testform.php" name="SampleForm">
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">
<!-- STEP 2: Put your email address in the 'recipients' value.
Note that you also have to allow this email address in the
$TARGET_EMAIL setting within formmail.php!
-->
<input type="hidden" name="recipients" value="imsDQK8Jadvertisingagency1.com" />
<!-- STEP 3: Specify required fields in the 'required' value -->
<input type="hidden" name="required" value="email:Your email address,realname:Your name" />
<!-- STEP 4: Put your subject line in the 'subject' value. -->

<input type="hidden" name="subject" value="Sample FormMail Testing" />

<table border="1" cellspacing="5%">
<tr>
<td>
<p>Please enter your name:</p>
</td>
<td><input type="text" name="realname" />
</td>

</tr>
<tr>
<td>
<p>Please enter your email address:</p>
</td>
<td><input type="text" name="email" />
</td>
</tr>

<tr>
<td><p>May we contact you?</p>
</td>
<td>
Yes <input type="radio" name="contact" value="Y" checked />
No <input type="radio" name="contact" value="N" />
</td>

</tr>
<tr>
<td><p>What are your favourite colours?</p>
</td>
<td>
Red <input type="checkbox" name="colors[]" value="red" />
Blue <input type="checkbox" name="colors[]" value="blue" />

Yellow <input type="checkbox" name="colors[]" value="yellow" />
</td>
</tr>
<tr>
<td valign="top"><p>What vehicles do you have a license to operate?</p>
</td>
<td valign="top">
<select name="vehicles[]" multiple size="5">

<option value="Car">Car</option>
<option value="Bus">Bus</option>
<option value="Truck">Truck</option>
<option value="Plane">Aeroplane</option>
<option value="Boat">Boat</option>
</select>&nbsp;(Select all that apply; use CTRL-click to select)
</td>

</tr>
<tr>
<td valign="top">
<p>Please enter your message:</p>
</td>
<td><textarea name="mesg" rows="10" cols="50"></textarea>
</td>
</tr>

<tr>
<td><input type="submit" value="Submit" /></td>
<td></td>
</tr>
</table>
</form>
<!--
Please support the ongoing development of FormMail and our other
freeware products by keeping the following text on your form
(or placing it elsewhere on your website). Thanks!
-->
<!-- START LINK -->
<small>This form and its
<a href="http://www.tectite.com/">html form processor</a>
supplied by www.tectite.com.

</small>
<!-- END LINK -->
</body>
</html>