/    Sign up×
Community /Pin to ProfileBookmark

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: [email][email protected][/email]
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: [email][email protected][/email]

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

Can someone help with this?

Thank you
LH

to post a comment
Full-stack Developer

1 Comments(s)

Copy linkTweet thisAlerts:
@spufiApr 10.2012 — 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.
×

Success!

Help @LeeH spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...