• Resolved belenberrueta

    (@belenberrueta)


    When upgrading the plugin I found myself with an error:

    “This field has syntax errors.”

    But this appears only in the FROM field, which it used to work before upgrading the plugin. In the from field I had:

    [your-name]

    But now it appears this error below the field: “This field has syntax errors.”

    What is wrong?

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

Viewing 4 replies - 46 through 49 (of 49 total)
  • @barnez

    Like most other posters on this topic, we’re well able to understand how to configure a contact form. What we don’t need is a plugin that has been working fine for many years suddenly telling us there’s something wrong when there isn’t.

    If I want to setup a form with a From address using the name/email of the person submitting the form then that’s my choice and not something that should be unilaterally decided by the plugin developer.

    But anyhow, just as a test I revised a form to use the same, hardcoded site address for to/from with the form email address as Reply to: [form-email] (just a dummy field name – this is inconsequential). Yet still the validation flags this as an error. It’s not and neither is using the form email in From. So yes, this is a false-positive.

    And I think from all the comments posted it’s clear that most, apart from it appears yourself, would agree this topic (as per the subject) is not resolved.

    And yes, obviously the forms still work but it’s disconcerting to have false-positive validation errors flagged up all the time.

    If the CCF7 developer doesn’t want to fix these errors then at least provide the option to disable validation so those of us that disagree with the way the developer has implemented the validation rules can turn it off.

    @regisit

    There are a couple of disable validation options you can use:

    You can disable the configuration validator by adding:

    define( ‘WPCF7_VALIDATE_CONFIGURATION’, false );

    to your wp-config.php, or adding:

    add_filter( ‘wpcf7_validate_configuration’, ‘__return_false’ );

    to your theme’s functions.php.

    Honestly this plugin worse instead of better.

    Reply-to: [HubSpot-email]
    The Reply-to field value is invalid.

    There is no way to send a copy to sender?

    I have same issue. I’m using CF7 Dynamic Text Extensions.

    I’ve got this in the form:

    [dynamichidden project-enquiry-email “CF7_get_custom_field key=’project_enquiry_email'”]

    But in the ‘mail’ tab in the ‘To’ field I’ve got:

    [page-title] <[project-enquiry-email]>

    and below this I get ‘This field has syntax errors.’

    but it still works.

    Has a new thread been started or is there any resolve with this?

    Any ideas? Any help?

    Thanks.

    • This reply was modified 8 years, 1 month ago by millo_magno.
Viewing 4 replies - 46 through 49 (of 49 total)
  • The topic ‘This field has syntax errors.’ is closed to new replies.