home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Need to Combine Contact Form and Newsletter Signup

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2521
Discussions: 200,962, Posts: 2,379,566, Members: 246,330
Old March 31st, 2009, 11:30 PM   Digg it!   #1 (permalink)
Junior 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&nbsp;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
dwrack is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
flash to PHP contact form not working on localhost using IIS dpcdpc11 Webmastering and Programming 1 August 18th, 2008 05:21 AM
composing a newsletter ShuckyD Multimedia and Audio 7 September 6th, 2006 07:58 PM
contact form Amr Webmastering and Programming 1 August 22nd, 2006 02:52 PM
Americas Army Signup... iNeb General Gaming Discussion 6 February 26th, 2003 06:13 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2980)
The disrespect of Obama by Russian .. (46)
Making Health Care Worse (181)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
windows 7 problem (7)
Laptop with wireless problem. (6)
windows vista security holes (13)
Is the PSU I received dead? (13)
Print spooler problem (16)
Point and Shoot Camera Suggestions. (5)
radeon x850xt platinum & shader.. (6)
HIS HD5770 graphic card question (15)
Recent Discussions
Laptop with wireless problem. (6)
CPU fan stops spinning randomly (11)
Nvidia GTX 260 problem (1)
Modern Warfare 2: Who Bought It? (65)
Point and Shoot Camera Suggestions. (5)
Is the PSU I received dead? (13)
Print spooler problem (16)
windows vista security holes (13)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
Open With ..... Win7 (1)
webcam (0)
upgrade for hp a6101 (0)
tv not turn on-makes clicking sound (2)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)


All times are GMT -4. The time now is 11:50 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28