Forums

G2 error

dayanacucchi 14 Mar, 2019
Hi,
i have a contact form inserted in a page.
If i try it in a stand alone page everything is ok, but inside the page e get an error:
the line is:
jQuery.G2.forms.initializeFeatures(Form);
and the error is:
Cannot read property 'forms' of undefined

The page link is: https://www.konvergence.it/it/contact
thanks
GreyHead 14 Mar, 2019
Hi dayanacucchi ,

I don't see any errors on the page you linked to - or in the browser web developer console.

Bob
dayanacucchi 14 Mar, 2019
I can see the error in the 'inspect' function of the browser.
If you try to submit the form, the thanks message isn't display.. but a form in a bad mode..
GreyHead 14 Mar, 2019
Hi dayanacucchi ,

I do now see the error message. Hard to tell exactly what is causing it. It looks as if JQuery.G2 is not defined when that code snippet runs. This might be a timing problem - or a problem with JavaScript libraries - I see that you are loading MooTools and that might be causing a conflict.

Sorry not to be more helpful.

Bob
Max_admin 14 Mar, 2019
The page also loads 2 jquery files, the one from the template should not be loaded!

Best refards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
healyhatman 14 Mar, 2019
You can use jQuery Easy to force only 1 version to load.
This topic is locked and no more replies can be posted.