I have contact form software running on my Joomla 4/JA Coach site called Convert Forms.
When in the JA Coach template I've got JS files optimised selected, it causes a JS error that confuses Convert Forms and does not allow the reCAPTCHA Checkbox to work properly - or even appear.
The developer said based on your documentation, it is possible to exclude JS files, however, after adding the Convert Forms reCAPTCHA file names to be excluded, they're not and the error persists. Exclude JS Files:
recaptcha_v2_checkbox.js
recaptcha_v2_invisible.js
So, to allow my form to work with reCAPTCHA I have temporarily disabled JS Optimize altogether.
Can you explain why the added JS file names keep getting included in your optimization algorithm?
Also, and separately, I have JCH Optimise running on the site, and this doesn't affect the form. Only when JS Optimize is selected ON in the template does this problem occur.
Maybe I don't need both (JCH Optimise and also selecting the Template's JS and CSS Optimise feature) and I can have the template feature turned OFF. Should I just do this? Thanks.