Forums

Chronoforms 6 validation works on "prefiew" but not on "view"

I am using Chronoforms 6 and Joomla! 3.9.24
I have a form with required fields. in the preview (backend) the error message works fine before pressing the submit button. the label turns red, if the field is empty or filled in wrong.
on the live site it only validates the fields after pressing the submit button.

do I have to change something in the settings?

best christina
GreyHead 06 Aug, 2021
Hi Christina,

It sounds as though there may be a JavaScript error on the live site page that is preventing the client-side validation from running.

Bob
Hi Bob,
there seems to be a "Uncaught TypeError: $ is not a function" in this script: <script src="https://www.sailsurf.at/libraries/cegcore2/assets/js/g2.forms.js" type="text/javascript"></script>

this is the form: https://www.sailsurf.at/merida-vest-aktion.html

Would this extension probably solve the problem: https://extensions.joomla.org/extension/jquery-easy/?

Christina
GreyHead 06 Aug, 2021
Hi Christina,

I see the error - but I can't see what is causing it. If you view the form without the template the error is not there so I can only guess that there is some kind of conflict with another file being loaded on the page :-(

Bob
You need to login to be able to post a reply.