• Resolved spacenerd

    (@spacenerd)


    On some of my contact forms, I’m receiving an error that says “This field has syntax errors.” However, I can’t figure out what the issue is.

    On some forms, I have the exact same content in the field, but those forms do not trigger the syntax error. Below are two errors that I’m seeing:

    On the “Additional Headers” field, the value I have inputed is:

    Sender: [email protected]
    Reply-To: [your-name] <[email-address]>

    On the “To” field, the value I have inputed is:
    [email-address]

    All of the field values exist as part of the form itself. I’ve copied the actual form data below:

    <p>
    	Your Name *<br />
        [text* your-name]
    </p>
    
    <p>
    	Your Email *<br />
        [text* email-address]
    </p>
    
    <p>
    	Telephone Number *<br />
    	[tel* telephone-number]
    </p>
    
    <p>
    	Reservation Date (Tues.-Sat.) *<br />
        [text* reservation-date]
    </p>
    
    <p>
    	Reservation Time *<br />
        [select* reservation-time include_blank "11:00 am" "11:15 am" "11:30 am" "11:45 am" "12:00 pm" "12:15 pm" "12:30 pm" "12:45 pm" "1:00 pm" "1:15 pm" "1:30 pm" "1:45 pm"]
    </p>
    
    <p>
    	Number of People in Party *<br />
        [select* number-in-party include_blank "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "10+"]
    </p>
    
    <p>
    	Comments<br />
        [textarea comments]
    </p>
    
    <p>[submit "Submit"]</p>

    Any insight would be really appreciated as I can’t see to identify what the cause of the error messages are. I’m not seeing any issues with the form submission themselves, o it’s really baffling.

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Syntax Errors in Mail Fields’ is closed to new replies.