how can I add a newsletter checkbox to my php contact form?

Santuzzo

Daemon Poster
Messages
675
Location
Amsterdam, The Netherlands
Hi,

I have a contact form on my website that I got form a free customizable php script.
Now I would like to add a little checkbox at the bottom of the comments field for a newsletter subscribing option.

Is something like that possible? If yes, do any of you guys know how I got to do this?
For clarification: I myself know nothing about programming, I got this php script from a free site.

Thanks,
Lars
 
That should be easy, you need to;
1) Add a checkbox to your form
2) Process the checkbox back on the server with the rest of the form.

Thanks!

I figured out how to add a checkbox for a newsletter subscription, and if it is checked that information is contained in the e-mail that send out the form results to me.

But now I would like to do this:
The form results should be sent to address A either way, BUT if the newsletter checkbox is checked I would like the form results to be sent also to an additional address (address B) with a different subject line.

Would something like this be possible?
If yes, could someone knowledgeable help me out with this?

I can post the php script I got so far if that helps.

Thanks,
Lars
 
Back
Top Bottom