Forums

Calendar field popup does not work after reloading a form via ajax

webbusteruk 11 Oct, 2020
When a form is loaded via ajax (eg "replace:#form" on a task button's Dynamic result), the calendar field popup is not loaded.

How do we re-initialise the calendar popup?
Max_admin 27 Oct, 2020
What about a static content ? does the calendar work inside a popup for you ?

I have just tried a calendar inside a popup (static) on a v7 form and it worked, also the latest v7 has a Connectivity App mode which you can try for your new lists!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
webbusteruk 27 Oct, 2020
It works on static content. It doesn't load after reloading a form via ajax.

We have tried CFv7 but unfortunately it isn't as powerful as CCv6 and much harder to use as we're used to the CC layout. Is there any plan to continue development on CCv6 or even CCv7?

We are using CC to read, retrieve, filter, and update multiple database via a single CC connection. It seems too complicated to manage using CF layout.
Max_admin 28 Oct, 2020
the latest CF7 has a Connectivity app mode which works just just like CC6, did you check that ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
webbusteruk 12 Nov, 2020
Answer
Found the solution.


You have to load "calendar.min.js" and "moment.min.js" scripts (in assets folder) after loading the form via ajax. Works perfectly now.
You need to login to be able to post a reply.