www.webdeveloper.com
Results 1 to 4 of 4

Thread: Create an HTML form that is emailed and sent to a

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Posts
    1

    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!

  2. #2
    Join Date
    Feb 2013
    Posts
    81
    A simple php script could solve your problem, just Google it and I sure you will see plenty examples on how it is done.

  3. #3
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,208
    Might help...

    How to submit a form to multiple email addresses: http://webdesign.about.com/b/2008/01...-addresses.htm

    More:

    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
    http://www.thesitewizard.com/wizards/feedbackform.shtml
    http://www.form2email.net/
    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.thepcmanwebsite.com/form_mail.shtml
    http://emailmeform.com/
    http://www.freecontactform.com/
    http://www.reconn.us/content/view/12/34/ (Download - Contact Us Script)
    http://www.phpform.org/

    http://apptools.com/phptools/forms/forms1.php
    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
    http://formsmarts.com/

    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/

  4. #4
    Join Date
    Mar 2011
    Posts
    1,136
    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 simplest solution that comes to mind would be to add a call to a JavaScript to your form that would use AJAX to send the form data to a mailer script and then allow the form to be submitted to the payment processor normally. The main drawback of this would be that the system would require that JavaScript be enabled in the user's browser. While extremely few people run with JavaScript disabled these days, the number isn't zero, but this may be the least intrusive method.

    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.
    Rick Trethewey
    Rainbo Design

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles