Forums

Save Form to DB > CF V4 with Joomla 1.7

tullski 21 Aug, 2011
Hi,

i was just wondering if the DB save function is working in Joomla 1.7?
I set up a new table in DB - see attached.
I added the DB save into OnSubmit or into OnSuccess, but its not saving anything.
Enabled:yes
Correct table selected
Model Id: chronoform_data
Save Under Model ID: No

Also on the main view a new column appeeared Tables connected.
But the PullDown by default shows -, not the connected table.
If you click the Pulldown, you can see only one table - the selected table...

You can see the live form here
http://www.weiss-institut.de/suchtberatung/kontakt-suchtberatung-muenchen


Whats wrong here?
Thx
tullski
tullski 21 Aug, 2011
Just tried it with Table crate wizard.
There is exactly the same problem.
No errors - and no values saved in chronoforms_data_xy

Anything i need to add there to my custom code?

thx in advance
t
GreyHead 21 Aug, 2011
Hi tullski,

Yes it works OK.

I don't see any problems from the front-end.

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
tullski 21 Aug, 2011
Thx GreyHead for your rapid response.
Form attached.

best
t
GreyHead 21 Aug, 2011
Hi tullski,

The attachment didn't . . .

Bob
tullski 21 Aug, 2011
there you go...
tullski 22 Aug, 2011
Hi GreyHead,

any news whats wrong?

Thx
t
GreyHead 22 Aug, 2011
Hi tullski,

Looks like the problem is that the DB Save is after the User ReDirect and so never gets executed. The ReDirect effectively ends the CF execution. Drag the DB Save up before it and all should be OK.

Bob
tullski 22 Aug, 2011
ok thats it.
Thx
t
This topic is locked and no more replies can be posted.