• uperynamic

    (@uperynamic)


    Hi Guys,

    Its been baffling my head for almost a day and a half now… I created this form using Contact Form 7 below…

    <div class=”dt-contact-form on-dark row”>
    <div class=”col-sm-12″>
    [text* your-name placeholder “Your Name”]
    </div>
    <div class=”col-sm-12″>
    [email* your-email placeholder “Email”]
    </div>
    <div class=”col-sm-12″>
    [tel telephone placeholder “Telephone”]
    </div>
    <div class=”col-sm-12″>
    [text Address placeholder "Address"]
    </div>
    <div class=”col-sm-6 half-right-padding”>
    [text street-address placeholder "Street Address"]
    </div>
    <div class=”col-sm-6 half-left-padding”>
    [text zipcode placeholder "ZIP / Postal Code"]
    </div>
    <div class=”col-sm-12″>
    [select type-of-service “Type of Service” “Residential Cleans” “Vehicle Cleans” “Hospital Theatre Cleans” “Builder Cleans” “Factory Cleans” “Deep Cleans”]
    </div>
    <div>
    [text text-542 placeholder]
    </div>
    <div class=”col-sm-12″>[submit “Send”]</div>
    </div>

    But when I test the form I receive by email the following information – Some information is missing from the email…

    From: Phillip <hello@webtechservices.co.uk>
    Subject: [your-subject]

    Message Body:
    [your-message]
    14 Aspall Walk, Longhill
    [Telephone]
    [StreetAddress]
    HU8 9TG
    [city]
    [select type-of-service “Home Cleaning” “Vehicle Cleaning” “Maintenance Service” “Building Cleaning” “Commercial Cleaning” “Pest Control”]

    Any ideas what I can do… It misses out the Message test, most of the address and phone number…

    Thank you in advance.

    Phil Booker

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ov3rfly

    (@ov3rfly)

    Your form-tags need to match the mail-tags, more here.

    Thread Starter uperynamic

    (@uperynamic)

    Hi Thank you for getting back to me..

    I have looked at it again, and its doing the same thing, Am I missing any code out at all. Been looking at this again for another 30 mins and just can not see where I am going wrong.

    Thanks.

    Ov3rfly

    (@ov3rfly)

    Click this link and read about form-tags in your form and mail-tags in your mail and why/how their names have to match.

    you can use [text* your-name] in your form and [your-name] in your mail.

    A mail tag has only one word in it. … the word corresponds to the name of a form tag, and it will be replaced with the form input…

    A simple example is shown as image at Mail-tag syntax at above link.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Contact Form 7 – Problem’ is closed to new replies.