PDA

View Full Version : Feedback form


gmoney10111
04-28-2007, 08:21 PM
Hi all,
I have created a simple feedback form in Dreamweaver. I have a gap in the html where I need to add a mailer link, or some sort of CGI link.. not sure whether the terminology is correct.
Can anyone help me sort this out?

Cheers.

gmoney10111
04-28-2007, 08:22 PM
Here's the code. The **********'s denote where the link should be.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<p align="right"> <a href="javascript:history.back()">Back </a>| <a href="http://www.dm-electrical.co.uk">DM-Electrical</a>
<!--
FORM MODIFICATIONS: Change INPUT lines with HIDDEN IDs below to match form subject title, recipient e-mail address, and "thank you" response location.
-->
</p>
<form action="********************************" method="post" id="Form1">
<input type="hidden" name="subject" value="Inquiry" id="Hidden1" />
<input type="hidden" name="recipient" value="info@dm-electrical.co.uk" id="Hidden2" />
<input type="hidden" name="redirect" value="http://www.dm-electrical.co.uk/form-confirm.html" id="Hidden3" />
<p>
<!-- ADD INTRODUCTORY TEXT -->
DM-Electrical contact form </p>
<p>Please feel free to make an inquiry or to ask a question using the form below. </p>
<p>&nbsp; </p>
<table width="928" height="217" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="325">&nbsp;</td>
<td width="373" rowspan="4"><label>
<div align="left">Name:
<input type="text" name="textfield" />
</div>
</label> <label>
<div align="left">Telephone:
<input type="text" name="textfield2" />
</div>
</label> <label>
<div align="left">Email:
<input type="text" name="textfield3" />
</div>
</label> <label>
<div align="left">Message:
<textarea name="textfield4"></textarea>
</div>
</label></td>
<td width="230">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
<p>
<label></label>
&nbsp;</p>
<p>
<label></label>
</p>
<p>&nbsp;</p>
<p>
<label></label>
<br />
&nbsp;<br clear="all" />
<input type="submit" name="Submit" value="Submit" />
<input type="reset" name="Reset" value="Clear Form" />
</p>
</form>
<p align="right"><a href="javascript:history.back()">Back</a>| <a href="http://www.dm-electrical.co.uk">DM-Electrical</a> </p>
</body>
</html>

davidj
04-29-2007, 09:57 AM
you need a email script to handle the mail

PHP, ASP, PERL all have the functionality to perform such a task. You need to ask your host what they have to handle email. They will probably have some prewritten scripts in PERL

If they have PERL scripts then there will be instructions on their site or from their support lines on how to set the form up