I've tried to setup the form to save data into a table, however it won't work. The table is created, I've left the defaults on. The event in the form is created as well, I've done everything according to Bob Janes' video tutorial (tnx Bob!), however the data does not get saved.
Any help appreciated!
Hi sgazvoda,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.
Bob
Hi GreyHead,
many thanks for your reply. I've done that and three screenshots are attached. An empty array pops up as an error, hopefully this info helps you.
Tnx in advance!
Cheers,
Samo
Hi sgazvoda,
The empty error array simply says thart no errors were found.
There is no sign there of a DB Save action so my best guess is that it isn't enabled.
Bob
Aha, thanks for explaining. But dbSave action is definitely enabled. Table also exists in the database, it was created through chronoforms menu in Joomla. Any other ideas? Something with table permissions perhaps?
Hi sgazvoda,
Hmmm if it is enabled then it should show in the Debugger output. You don't have any ReDirect actions before the DB Save?
By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.
Bob
Hi again. Now it started working, don't know why, as said dbSave was also enabled before. The debug field was empty since I've moved it to top of the onSubmit group, didn't know that it should be on the end.
I also had some problems with cache in Joomla being turned on. I am obviously new to Joomla :-)
Thanks for your help!
To update a bit - you probably know better, but do you think I had these problems because of Joomla cache?
Hi sgazvoda,
I don't think this was a problem with the Joomla! Cache - it might have been the order of the actions in the On Submit event???
Bob
I haven't changed the order, actually, DB Save was always on the top in the ON Submit group. Anyhow, it is working now :-)