Create an HTML form that is emailed and sent to a
I'm creating an html form that has three inputs that need to go a payment processing server and the rest of the form needs to be emailed to a recipient. The form successfully transmits the data to the payment processor but I can't figure out how to email the rest of the data.
Thanks for your help!
A simple php script could solve your problem, just Google it and I sure you will see plenty examples on how it is done.
How to submit a form to multiple email addresses: http://webdesign.about.com/b/2008/01...-addresses.htm
PHP: Sending Email Tutorial (Text/HTML/Attachments): http://www.webcheatsheet.com/php/sen...attachment.php
CoffeeCup Free Web Form Builder (Win/Mac Versions): http://www.coffeecup.com/web-form-builder-lite/
Use any of the below sites to make the workable form you need (Just follow the instructions for making it and uploading file(s)):
Contact Form Generator: http://www.tele-pro.co.uk/scripts/contact_form/
WYSIWYG Form Maker (Easiest to Use): http://www.jotform.com/?gclid=CNKhqe...FRQhnAod6laUqA
How to Code a Sign Up Form with Email Confirmation: http://net.tutsplus.com/tutorials/ph...-confirmation/
Free Forms: http://www.jotform.com/form-templates/
http://www.reconn.us/content/view/12/34/ (Download - Contact Us Script)
Form Service: http://www.mycontactform.com/
Online Free Tool, PHP Contact Form Code Generator: http://www.htmlbasix.com/contactform.shtml
PHP Mailer Script Step by Step: http://www.htmlgoodies.com/beyond/ph...le.php/3855686
PHP Sending E-mails: http://www.w3schools.com/PHP/php_mail.asp
How to Make a Slick Ajax Contact Form with jQuery and PHP: http://www.elated.com/articles/slick...rm-jquery-php/
Ajax - Creating an HTML Form: http://www.tizag.com/ajaxTutorial/ajaxform.php
Freebie: Good looking Fluid Contact Form: http://www.flashuser.net/flash-compo...tact-form.html
Put an online contact form on your site in about 8 minutes (Requires an account): http://response-o-matic.com/
Form2Email.net (free - Designed to keep away spam. Your e-mail address is hidden in the script. Can be used to send almost any form, and if required, keeps a log of all e-mails. Supports required fields, SMTP, multiple e-mails, auto responder and file upload.): http://www.form2email.net/
Sending the Email is the easy part. Any formmail script handle that with little or no modification. The tricky part is combining these two functions with a single form submission.
The alternative would be to create an intermediate script that would handle the mailing and then proceed to submit the form data to the payment processor. I had to do something similar not long ago and ran into some HTTP security issues. You can't, for example, use method="post" and have the destination script respond with a 301 or 302 redirect. I ended up having the formmail script display a "Continue" button which was a part of a form that submitted the user's data to the payment processor. It was clumsy, but I was under a tight deadline and it worked.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread