-
March 31st, 2009, 10:30 PM #1Junior Member
- Join Date
- Mar 2009
- Posts
- 1
Need to Combine Contact Form and Newsletter Signup
Hello
I am looking to do 2 things with my contact form code, I am somewhat comfortable with working with these forms, but have hit some road blocks in my learning, here they are;
1. Combine my dadamailproject newsletter signup and my contact form so that when they hit submit, it "posts" the form via webformmailer.php to me as well as "posts" the email address to the dadamailproject /mail.cgi
Here is the dadamailproject newsletter code, see the contact form below #2
<form action="http://www.xxxxxxxxxxxxxxx.com/cgi-bin/dada/mail.cgi" method="post">
<fieldset>
<h2>
<legend>
Newsletter Signup</legend>
</h2>
<input type="hidden" name="list" value="newsletter" />
<p>
<label for="email" style="width: 7em;float: left;text-align: right;margin-right: 0.5em;display: block" >
Email Address:</label>
<input type="text" name="email" id="email" value="" />
</p>
<p>
<label for="f_s" style="width: 7em;float: left;text-align: right;margin-right: 0.5em;display: block">
Subscribe </label>
<input type="radio" name="f" id="f_s" value="subscribe" checked="checked" />
<p>
<p>
<input type="submit" value="Submit Your Information" class="processing" />
</p>
<p style="font-size:10px;font-family:Verdana,Arial,sans-serif;"><a href="http://dadamailproject.com" target="_blank" rel="nofollow" style="font-size:10px;font-family:Verdana,Arial,sans-serif;">Powered by Dada Mail 3.0.3 Stable Mailing List Manager</a></p>
</fieldset>
</form>
2. When the contact form is sent to me, has too much info, for example;
Name: Boy George
Address: 453 Manor Pl
submit: submit
I only want the info entered to be seen on the email, so i can print it out onto an envelope easier, for example;
Boy George
453 Manor Pl
What do I need to change on my code?
Here is the the code for the contact form;
<form action="webformmailer.php" method="post" class="style2">
<p>
<input type="hidden" name="subject" value="Brochure Request" />
<input type="hidden" name="redirect" value="Brochure_Request_Thank_You.html" />
Name:<input name="Name" type="text" size="40" />
Address: <input name="Address" type="text" size="40" />
<input type="submit" name="submit" value="submit"/>
</form>
Would any of these do anything?
<input type="hidden" name="form_order" value="csv"/>
<input type="hidden" name="form_delivery" value="hourly"/>
<input type="hidden" name="form_format" value="default"/>
Thanks so much.
Dave
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
flash to PHP contact form not working on localhost using IIS
By dpcdpc11 in forum Webmastering and ProgrammingReplies: 0Last Post: August 14th, 2008, 05:00 AM -
composing a newsletter
By ShuckyD in forum Multimedia and AudioReplies: 7Last Post: September 6th, 2006, 06:58 PM -
contact form
By Amr in forum Webmastering and ProgrammingReplies: 1Last Post: August 22nd, 2006, 01:52 PM -
Americas Army Signup...
By iNeb in forum General Gaming DiscussionReplies: 6Last Post: February 26th, 2003, 06:13 PM



LinkBack URL
About LinkBacks



Reply With Quote

Have fun and enjoy weekend with the awesome movies now. Watch Mud Online Watch The Croods Online Watch Oblivion Online Watch Fast & Furious 6 Online Watch The Great Gatsby Online Watch Spring...
Watch Mud Online