Incorrect error output with two forms on one page
-
Have a wonderful good day,
we are using Contact Form 7 on our website and now we have the following problem. We have integrated a form in the header, hidden in the “Deine Beratung” (Your advice) button, and another form which appears when you click on the “Lehrgang anfragen” (Request a course) button below on the page.
If I send the second form blank, however, the error is shown in the first form. My browser inspector gives me the following:
TypeError: Cannot read properties of null (reading ‘querySelector’)
at s (index.js? ver = 5.5.3: 1)
at Array.forEach (<anonymous>)
at index.js? ver = 5.5.3: 1
(anonymous) @ index.js? ver = 5.5.3: 1I was also able to test the error on a newly installed WordPress environment on which only the Contact Form 7 plugin was installed.
The desired goal would be if the error output is only displayed in the form that generated one.
I already say thank you in advance for any help.
Cheerio.
The page I need help with: [log in to see the link]
- The topic ‘Incorrect error output with two forms on one page’ is closed to new replies.