I downloaded and configured this php style formmailer.
http://www.tectite.com/formmailpage.php
It works perfect and I receive the emails promptly. Only one problem... it still includes the blank form fields in the email. I was wondering if there was a way to set it so blank fields wouldn't be sent. I use to use the formmailer in perl and it wouldn't include blank fields. But for some reason that dosent work anymore... (Some "The specified CGI application misbehaved by not returning a complete set of HTTP headers." error)
Heres how I have it set up for a basic setting (without the required field)
When I send it I get the email includingCode:<form method="post" action="/formmail.php" name="request"> <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER"> <input type="hidden" name="recipients" value="MYEMAIL@gmail.com" /> <input type="hidden" name="subject" value="CUSTOMER REQUEST" /> <input type="hidden" name="good_url" value="/thanks.html" /> Name: <input name="Name" type="text" /><br /> Customer ID: <input name="Customer ID" type="text" /><br /> Email Address: <input name="Email" type="text" /><br /> Comments:<br /> <textarea name="Comments" rows=5 cols=50></textarea> <input type="submit" value="Submit" /> <input type="reset" value="Clear" /> </div> </form>
"email:
realname:
Name:
Customer_ID:
Email:
Comments:"
I just wish it not to include the blank fields in the email.


Reply With Quote

Bookmarks