Forums

Ajax submit causes some wierd stuff on Yootheme template

zerxx 29 Mar, 2017
Hi! Im using Chronoforms 5.0.14, Joomla 3.6.5, Yootheme Nano3 1.0.16

I have a form in modal window with ajax submit. The problem is that after the submit the "Thanks Message" is not shown correctly. It looks like somehow another instance of <html> loads into the <div> where the thanks message should be.

Another problem is that after the submit some javascript events like $(document).ready are being fired once again, causing other bugs.

This occurs only on yootheme templates - i've tried Chronoforms 5.0, 5.0.10, 5.0.12 and different versions of templates. On stock joomla templates - submit works fine.
GreyHead 29 Mar, 2017
Hi zerxx,

Not something I've seen before. Do YouTheme have any suggestions?

Bob
zerxx 31 Mar, 2017

Hi zerxx,
Not something I've seen before. Do YouTheme have any suggestions?
Bob


They don't =)
The problem is kinda solved by moving from yootheme template to a custom one.
Max_admin 31 Mar, 2017
Hi zerxx,

Are you able to test this with v6 instead ? it will install as a new extension and your v5 forms will remain intact.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
zerxx 01 Apr, 2017
Hi admin,
Yes, i'll test it in a few days
zerxx 05 Apr, 2017
Answer
v6 is not working on my site - it says "Form alias not found" when i open menu item for v6 form. But the form is created and published.

Anyway, I solved the problem with v5 one more time - i set "Relative URL" to "NO" in HTML Render Form action. Now ajax submit works fine =)
Max_admin 05 Apr, 2017
Good, for v6, you had to use the form alias in the menu options.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.