WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Making message body clear (3 posts)

  1. chappie
    Member
    Posted 4 months ago #

    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.

    https://wordpress.org/plugins/contact-form-7/

  2. buzztone
    Member
    Posted 4 months ago #

    RE: Will this do it?


    ​No - <[gift-occasion]> etc, etc. are wrong - should be just [gift-occasion] etc.

    The ​<[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.​​

  3. chappie
    Member
    Posted 4 months ago #

    @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 <[your-tel]> too presumably.

    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.

Reply

You must log in to post.

About this Plugin

About this Topic