I have a long form with numerous fields and I’m trying to ensure that the resulting email message body lists all the data on separate lines with the fieldID included to avoid any misunderstandings by the eventual site owner (who isn’t code-savvy). Will this do it?:
From: [your-name] <[your-email]> <[your-tel]> Subject: [your-subject] Message Body: [delivery-date] <[gift-occasion]> <[recipient-name]> <[recipient-email]> <[delivery-address]> <[delivery-method]> <[personal-message]> <[cash-value]> <[chosen-treatment]> <[treatment-value]> <[payment-method]>
And if I wanted to, could I insert some plain text between the lines to help the owner further, eg:
SEND ORDER TO: <[delivery-address]> BY POST OR EMAIL <[delivery-method]>
Unfortunately, this site is in offline development so I can’t send any test emails!
Thanks for your help.
RE: Will this do it?
<[gift-occasion]>etc, etc. are wrong – should be just
<[your-email]>format is normally only used with email addresses.
RE: if I wanted to, could I insert some plain text between the lines to help the owner further
Yes – you can & should add whatever text you want to improve email readability.
Also you should avoid using long forms (people tend not to complete them) or if you absolutely must, breakup your form using fieldsets – see http://buzztone.com.au/web-design-process/quote/
Finally do another website where you can add the form temporarily to test the form.
@buzztone – that’s very helpful: thank you.
The <[your-email]> format is normally only used with email addresses.
So I need to remove the angle brackets from
Point taken about long forms/fieldsets. The less like a tax return the better.
Last newbie question (for now) if I may: I haven’t created a
[your-subject]tag so I assume I should simply hardwire any subject title in without brackets?
Thanks for your articles btw.
- The topic ‘Making message body clear’ is closed to new replies.