Contact Form Not Working
Posted by: dlply
Posted on: 2006-12-12 09:59:00
So I setup a generic contact form using Dreamhost's .cgi script to post it. None of the hidden inputs are being used. For instance, it does not redirect, it does not check for required fields, it does not even send to the e-mail address listed. I have tried both listing the email as user and user@doman.com - since the domain is hosted by dreamhost. Since none of those hidden inputs are being read...it simply does not work. The user goes to the default "thank you, here is what you submitted" page. Can I get some input? Here is what the html looks like:
<form action="http://formmail.dreamhost.com/cgi-bin/formmail.cgi" method="post" enctype="text/plain">
<p class="form">Name:</p>
<input type="text" name="Name" value="" size="30">
<br /><br />
<p class="form">E-Mail:</p>
<input type="text" name="Email" value="" size="30">
<br /><br />
<p class="form">Phone:</p>
<input type="text" name="Phone" value="" size="30">
<br /><br />
<p class="form">Inquiry:</p>
<textarea name="Inquiry" value="" rows="4" cols="29"></textarea>
<br /><br />
<input type="hidden" name="recipient" value="deb@mydomain.com">
<input type="hidden" name="subject" value="Booking Inquiry">
<input type="hidden" name="redirect" value="http://www.mydomain.com/aftercontact.php">
<input type="hidden" name="required" value="Name, Email, Inquiry">
<input type="hidden" name="print_blank_fields" value="1">
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>