Some data saves, some doesn't

Inconsistent form data saving to the database in ChronoForms.

Overview

New form fields are not being inserted because the existing database table structure does not automatically update.
Manually add the new field to the database table and clear the cache, or drop and recreate the table entirely.

Answered
ja jawi 14 Jan, 2015
I'm perplexed. It seems that the forms are saving some of my data to the database, but others, it's not. I have a dev and live server (same Joomla and Chronoform versions). I try demo forms and forms I create - I have problems with both. I've had more luck on the dev server, but it's not consistent. If I do add another field, I always delete the cache, and the debugger shows me that the fields are part of the data array, but are not being inserted into the db. I also drop the db in phpMyAdmin when I add any fields. Any ideas?
ja jawi 14 Jan, 2015
Answer
Seems I got it to work- I just have to delete the databases entirely, and use a new one each time. Not sure why.
Max_admin Max_admin 15 Jan, 2015
1 Likes
Hi Jawi,

New fields will not be saved if the database tables has been already created, you will need to either drop the table (or ignore it) and create a new one, or add the field manually to the table AND delete the cache.

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.