• Hi,

    I have installed the plugin Contact form 7 on. I am trying to add a field that allows users to enter their phone number in. When you submit these deatils the phone number that I entered into the form when I sent it does not appear in the email I receive. Can someone please help me? I would also like to rid of the subject line.

    Below is the code I am using for the form:

    <p><label>Your Name (required)<br />
      [text* your-name]  </label> </p>
    
    <p><label>Your Email (required)<br />
        [email* your-email] </label></p>
    <p><label>Subject<br />
     [text your-subject]</label></p>
    
    <p><label>Phone Number<br />
    [text your-Phone Number]</label></p>
    
    <p><label>Your comments<br />
        [textarea your-message]</label> </p>
    
    <p>[submit "Send"]</p>

    This code I have in the message body for mail:
    From: [your-name] <[your-email]>

    Message Body:
    [your-message]
    [your-Phone Number]

  • The topic ‘Contact form7’ is closed to new replies.