• Hello – I’m developing a custom WP theme implementing CF7 form. I use CF7 long since and this is the first time that this happens. When I click anywhere in the web page (not just simply the section where the form is injected but anywhere, nor even anchor tags or whatever, just click anywhere, blank spaces etc…) the validation spans appear below each form fields, just like as I click on the submit button without filling required fields.
    I’m checking the JS file of my theme but I can’t find any particular click event…
    Any clue?

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

    (@takayukister)

    Where can we see the website in question?

    Thread Starter saxpaolo

    (@saxpaolo)

    Hello Takayuki – thanks for your quick reply.
    This is the staging website: https://new.hotelcard.it/
    The form is at the bottom of the page, before the footer.

    I’m still investigating and probably the issue is caused by the input spinner fields I’ve implemented (but that’s not the first time I use it and nevere had this problem). Looks like it detect any click event in the page…

    Thanks in advance

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter saxpaolo

    (@saxpaolo)

    Here’s the list of active plugins (some of which are temporary/to be deactivate):

    • Classic Widgets
    • Contact Form 7
    • Flamingo
    • WordPress importer
    • Loco Translate
    • Post Type Switcher
    • Post Types Order
    • Query Monitor
    • Regenerate Thumbnails
    • Reusable Blocks Extended
    • SVG Support
    • Theme Check
    • Transients Manager
    • User Role Editor
    • WP Import Export Lite
    • WPML Multilingual CMS
    • WPML String Translation
    • Yoast Duplicate Post
    • This reply was modified 2 years, 5 months ago by saxpaolo.
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all plugins excluding Contact Form 7, Classic Widgets, Flamingo, WordPress importer, and Theme Check.

    Why you are advised to deactivate plugins and switch to the default theme.

    Hi @takayukister we’ve got the same behavior on different projects. I think this behavior is not correct. If you click just on the acceptance checkbox and doesn’t fill in any data in the form, the whole form will be validated. This was not in the previous versions as i know. Maybe there is something wrong since the update in this direction.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Validation messages appear when clicking anywhere’ is closed to new replies.