• Im setting up a form to have people register for a contest. I tested it but when I check the email, There is no name which I entered or other info. It only has “your name” Your phone” etc. How Can I fix this so the email which comes through has the info that the user enters?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Sounds like it might be a syntax issue in your form. What text do you have in the Mail tab – Message body?

    Thread Starter lynnebennett

    (@lynnebennett)

    This is what shows.
    Do I need to remove the [your name] etc?

    From: [your-name] <[your-email]>
    Subject: [your-subject]

    Message Body:
    [your-message]


    This e-mail was sent from a contact form on

    That looks proper. So that makes me wonder if your Form tab info is correct. Or else you have a typo somewhere on either tab. Double-check syntax and look for any stray (unintentional) characters. Post all of your text if you question anything.

    Don’t need to remove anything if your form uses those properties.

    Thread Starter lynnebennett

    (@lynnebennett)

    thanks SO MUCH… trying this. I have a client who really doesn’t understand that Im working with a really crap site someone else built.
    I appreciate your help… fingers crossed.

    Thread Starter lynnebennett

    (@lynnebennett)

    I used a template and only added the line at bottom. I don’t do much coding so Im not sure this is correct….
    <fieldset>
    <legend>Contest Entry Form</legend>

    1. Name [text cf7s-name]
    2. Address [text cf7s-address]
    3. City [text cf7s-city]
    4. State / Province / Region [text cf7s-state]
    5. Phone Number [tel cf7s-phone]
    6. Email [email cf7s-email]
    7. Message [textarea cf7s-special-needs]
    8. Preferred Contact Method [radio cf7s-radio1 default:1 “Email” “Phone”]
    9. </fieldset>
      <p>By entering the contest you agree to the rules, terms and conditions which can be found here.</p>
      [submit “SUMBIT ENTRY”]

    It looks to me like there is a disconnect between the form and mail data.
    Your mail has tags (I think they are called) like “your-name” but your form has something like “cf7s-name”. Make them the same.
    Also, you might want to try putting an asterisk (*) after each field in the form. I’m no expert on this plugin, but mine has it.

    As an example for you, here is my form:

    <div id="contactForm">
    <div id="name"><p>
        [text* your-name id:name  placeholder "Your Name"]</p>
    </div>
    <div id="email"><p>
        [email* your-email id:email placeholder "Your E-mail Address"]</p>
    </div>
    <div id="message"><p>
          [textarea* your-message x15 id:message placeholder "Message"]</p>
    </div>
    
    <div id="send"><p>[submit "Send"]</p>
    </div>
    </div>

    My mail message body:

    From: [your-name] <[your-email]>
    
    Message:
    [your-message]
    

    See how the two have corresponding tags?

    • This reply was modified 3 years, 5 months ago by JustinBBC.
    • This reply was modified 3 years, 5 months ago by JustinBBC.

    Have you read the docs?
    https://contactform7.com/docs/

    Here is the fields page:
    https://contactform7.com/text-fields/

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Email sent through form has “fields” not info HELP’ is closed to new replies.