Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Need help with html survey..

    Basically I created an html survey with checkboxes, when the customer fills it out I want the results sent to an email address.
    Right now this is what I have, but when submit the results, I want to the question and the results in a easy to read format. I want to keep this as simple as I can, they fill out the form and the results are emailed.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

    <html>
    <body>
    <form action="MAILTO:jonathanluvskandy@hotmail.com" method="post" enctype="text/plain">
    <form action="mailto:jonathanluvskandy@hotmail.com" method="get" enctype="text/plain">
    <head>
    <title>Survey</title>
    </head>
    <body>
    <div align="center">


    CUSTOMER EVALUATION AND FEEDBACK.</p>
    <p align="left"> At AmSpec, we value the opinion of you, our customer, and we use your input to improve our products and services. When it comes to customer satisfaction, we consider 99% not to be 100%. Please fill out this card and drop it in the mail. Thank you for your time and input.</p>
    <p align="left">1. Is our staff responsive to your problems and concerns?
    <input type="checkbox" name="Q" value="Yes">
    Yes
    <input type="checkbox" name="Q" value="No">
    No</p>
    <p align="left">2. Are we doing everything we should to serve your needs?
    <input type="checkbox" name="Q" value="Yes">
    Yes
    <input type="checkbox" name="Q" value="No">
    No </p>
    <p align="left">3. Are our field personnel prompt, courteous, and efficient?
    <input type="checkbox" name="Q" value="Yes">
    Yes
    <input type="checkbox" name="Q" value="No">
    No </p>
    <p align="left">4. Do we keep you informed of issues that are important to you?
    <input type="checkbox" name="Q" value="Yes">
    Yes
    <input type="checkbox" name="Q" value="No">
    No</p>
    <p align="left">5. Would you recommend us to an associate?
    <input type="checkbox" name="Q" value="Yes">
    Yes
    <input type="checkbox" name="Q" value="No">
    No
    <p align="left">If you answered "No" to any of the above questions, please explain below, or call our office at
    <p align="left">
    First name:
    <input type="text" name="firstname">
    Last name:
    <input type="text" name="lastname">
    <p align="left">Company:
    <input type="text" name="company">
    <p align="left">Phone Number
    <input type="text" name="Phone Number">
    <form name="form1" method="post" action="">


    <input type=submit value="Submit Your Comments">
    </form>
    <p align="left">
    <p align="left">
    <p align="left">
    </div>
    </body>
    </html>

  • #2
    Senior Coder TheShaner's Avatar
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Posts
    1,126
    Thanks
    2
    Thanked 40 Times in 40 Posts
    If you want it formatted nicely, you will need some kind of server-side language to process the form.

    This can be PHP, ASP, and Perl to name a few of the common ones. This will depend on the host you're using and what language they support. My host supports PHP and Perl. Yours may run on Windows IIS, in which you'll need to use ASP.

    I suggest that you check with your host to see which server-side language they support, if any, or if you have your own server at home, then you'll need to install it onto your server, and then go from there and post in the respectable forums concerning how to create a script to handle email. I suggest you first do some reading and learning on your own before asking questions about how to make the script though.

    -Shane

  • #3
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I know php and asp would be cleaner, but I don't want to waste too much time on this project I want it to be easy and simple

  • #4
    Senior Coder TheShaner's Avatar
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Posts
    1,126
    Thanks
    2
    Thanked 40 Times in 40 Posts
    Then you're going to have to deal with format you get when you use mailto. Simple as that.

    Honestly, though, a server-side script to process a form, format it, and email usually isn't very difficult or time consuming. There are LOTS of resources out there for that purpose.

    Good luck!

    -Shane

  • #5
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why do you have 3 start <form> tags but only one ending tag? The head section in the middle of a body? I'm suprised that page even works at all...


  •  

    Posting Permissions

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