Support » Plugins and Hacks » Contact Form 7 » Form will allow a space in the field

Form will allow a space in the field

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Takayuki Miyoshi


    What are in your mail fields?

    As below:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    <p>Your Name (required)
        [text* your-name] </p>
    <p>Your Email (required)
        [email* your-email] </p>
    <p>Your Phone Number (required)
        [text* phone] </p>
    <p>Your Message
        [textarea your-message] </p>
    <p>[submit "Send"]</p>

    Seems fine to me, i must have setup Contact 7 form loads of times and never come across this issue before.

    Plugin Author Takayuki Miyoshi


    So what are in the To, From, Subject and Additional headers fields in the Mail section?


    From: [your-name]
    Email: [your-email]
    Phone: [phone]
    Message Body:


    To: my email address
    From: [your-name] <[your-email]>
    Subject: Enquiry via Website

    Nothing out of the ordinary, as I say, it works perfect so long as I dont leave a space between first and surname!

    Plugin Author Takayuki Miyoshi


    Try changing the From line to

    From: "[your-name]" <[your-email]>

    Thanks, but this makes no difference.

    Plugin Author Takayuki Miyoshi


    OK. Then check your server log. If you can’t find any clue, try deactivating all other plugins and switching to the default theme.

    Done, switched off all plugins (all of which I have used many times with Contact7, without issue), no change. So i tried default theme, no change either. I am still unable to send if there is a space in the name.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Form will allow a space in the field’ is closed to new replies.