WordPress.org

Forums

[Plugin: Contact Form 7] Problem adding new field to the mail section (4 posts)

  1. tmontana
    Member
    Posted 6 years ago #

    hey guys, just having a problem with contact form 7, heres the scenario:

    i added a custom field in the form section which was

    <p><label>Phone Number
    [text your-Phone Number] </p>

    users can input phone number no problem. On the mail section under the message body part i have added:

    [your-Phone Number] and
    [text your-Phone Number]

    in both of these when i receive the email the phone number the person entered doesnt show, instead i just get the above exactly as they appear before you

    can someone please help me to resolve this

    i am using WP 2.71

    thanks guys

    Alan

  2. mindanimal
    Member
    Posted 6 years ago #

    same here, please help guys :)

    I just want to add more fields to the contact form like company name address phone and stuff, but I just cant figure it out.

    Thanks in advance,
    Oggy

  3. mindanimal
    Member
    Posted 6 years ago #

    Hi tmontana,

    Try adding this to your Message body: ( scroll down your screen to see it )

    [your-Phone Number]

    This will send you the phone number as it should.

    You see, you can do this for everything: if you add to the form this:

    <p><label>address
    [text your-address] </p>

    then go to message body and add this:
    [your-address]

    That`s it! Success! please tell me if it works for you, I figured it out so I can help you!

    Cheers,
    Oggy

  4. JHouse
    Member
    Posted 6 years ago #

    Much thanks Oggy, that did the trick.

Topic Closed

This topic has been closed to new replies.

About this Topic