• Resolved Garrett Hyder

    (@garrett-eclipse)


    Hello,

    I’m trying to update an old form to use proper From and Reply-To configuration but am getting errors with the CF7 validator;

    View post on imgur.com

    The links in the errors take me here;
    http://contactform7.com/configuration-errors/#mail.additional_headers:error_invalid_syntax

    And reading about the specification I’m not sure what’s amiss.

    The contents of my additional field are;

    Reply-To: “[FirstName] [LastName] <[EmailAddress]>”
    flamingo_email: “[EmailAddress]”
    flamingo_name: “[FirstName] [LastName]”
    flamingo_subject: “Free Estimate Request from [FirstName] [LastName]”

    All the shortcodes exist for this form;
    [FirstName] [LastName] [EmailAddress]

    I’ve been using this set-up for other sites without issue.

    Is there just a bug with the validator or is something actually misconfigured.

    Thank you

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

    (@takayukister)

    See Adding Cc, Bcc and Other Mail Headers

    You don’t need the wrapping " ".

    flamingo_email, flamingo_name, and flamingo_subject are not email headers.

    Thread Starter Garrett Hyder

    (@garrett-eclipse)

    Thanks @takayukister,

    Silly me I didn’t see the Additional Settings tab there… doy

    And I’ve sorted out the Reply-To header as well, was still an error after removing the quotes.
    Finally figured out it was because the EmailAddress field was a text field and not an email field. Switching that and making it required sorted my problems.

    Appreciated

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

The topic ‘CF7 Validator Issues – field value is invalid and field has syntax errors’ is closed to new replies.