Calendar in Chronoforms are not saved in the mysql database

4Summit 09 Sep, 2017
Hello,

I have a form where 12 elements are captured including a calendar date (format YYYY-MM-DD). the MySQL column is of date type. Every other form value is correctly captured in the database, but the calendar. It is a required field and not disabled. The form value in the debug shows the value is coming in empty, so this may be that form is not sending to DB.

Can you please let me know if I am missing anything?
Max_admin 09 Sep, 2017
Hi 4Summit,

The latest update had a new calendar "Real format" setting, that's the format which is going to be actually passed, what do you have there ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
4Summit 09 Sep, 2017
1 Likes
The real format is YYYY-MM-DD. I removed the time.
Max_admin 13 Sep, 2017
So now its working as it should ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
4Summit 13 Sep, 2017
Hey Max, No it is still broken.

I have tried many different formats, but not sure what is the right Chronoform format for MySQL Date column.

Interesting, Connectivity is working fine for that column as a calendar (y-m-d) format, but chronoforms does not.
Max_admin 13 Sep, 2017
Hi 4Summit,

What is the value shown in he debug after the form is sent at the moment ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
4Summit 13 Sep, 2017
There is no value (empty) shown the debug.
Max_admin 15 Sep, 2017
Hi 4Summit,

I have just tested and it works fine, please send me a screenshot of your calendar settings.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
4Summit 16 Sep, 2017
Attaching the screenshot for calendar settings. Thanks for checking. I must have done a mistake and not able to find it.
Max_admin 20 Sep, 2017
Hi 4Summit,

Sorry for the late reply, just copy the string in the "Display format" into the "Real format" box.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
4Summit 21 Sep, 2017
Hey Max,

The calendar date was after the dynamic drop downs and i moved it before the dynamic dropdown (in the page) and then it started working. This issue is only with the calendar coming after a dynamic dropdown (from the DB) - regular text fields and normal dropdowns are not impacted.

Thanks,
Srini
Max_admin 24 Sep, 2017
Answer
Hi Srini,

Could you please post a form backup with this problem ? the dropdown should not have any effect on the calendar, I tried to add a calendar after the dynamic dropdown in the dropdown demo form and it posted the date value just fine.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
4Summit 07 Oct, 2017
1 Likes
Hello Max, This issue is solved. When i changed the display and real format to YYYY-MM-DD, it started working. Thanks for your help!
This topic is locked and no more replies can be posted.