www.webdeveloper.com
Results 1 to 2 of 2

Thread: Form mail format

Hybrid View

  1. #1
    Join Date
    Apr 2012
    Posts
    1

    Form mail format

    I am new to this forum and am need of assistance on my webforms. Several years ago I developed a website that had several forms on it. For some reason it seems as though I was able to find the answers easier back then than I can today. As I remember I had to create two forms. One was the form the visitor completed online and the other was the form that received the information the visitor entered and was then emailed to me. The form I received was a duplicate of the online form in appearance in that the information was layed out on the entire page rather than in list format. A typical form would simply email the information entered on the form as follows;

    Name: John Smith
    Address: 123 Main St
    City: Mytown
    ST: IL
    ZIP: 60000
    Phone: (312)555-0000
    Email: js0001@abcxyz.com
    Birthdate: 9/5/1958
    Marital Status: Married
    Dependents: 2

    Because the forms I am developing are very long and ask a lot of information of the visitor, an email containing the information in list format could and does take up as many as three sheets of paper when printed. If the information could be organized in the emailed form that I was able to do at one time I could fit the information on one page.
    I would like the information to look more like this when I receive it via email:

    Name: John Smith
    Address: 123 Main St City: Mytown ST: IL ZIP: 60000
    Phone: (312)555-0000 Email: js0001@abcxyz.com

    Birthdate: 9/5/1958 Marital Status: Married Dependents: 2

    Can someone help with this?

    Thank you
    LH

  2. #2
    Join Date
    Nov 2002
    Posts
    2,632
    You could use a single form just like you would when somebody sends you an e-mail via a contact form. Once the user clicks submit, you have server side scripting format the data how you want it and it sends that info to you in an e-mail. It might be easiest to use a table to display your data.

Thread Information

Users Browsing this Thread

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

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