Validation issue when checking checkbox fields
-
Hello,
I am using Contact Form 7 v5.6.1 on my local WP 6.0.1 installation with the default Twenty Twenty Two theme.
I have noticed a bug when using checkbox fields on a contact form. The issue is when i toggle the checkbox on the frontend, it triggers a change event on the form causing all validation errors to appear.
This is not expected behaviour and the validation should only be triggered when a user has submitted the form.
If i remove the ‘change’ event handler from the WPCF form DOM element, it works as expected.
I’ve have captured a screen recording of the issue to help with your investigations.
https://www.awesomescreenshot.com/video/10411987?key=e7b6af3dec2fce4a13f39454bbf51d60
- The topic ‘Validation issue when checking checkbox fields’ is closed to new replies.