Hi,
I'm trying to INSERT/UPDATE posted data to a second table.
The best logical place seams to be onSubmit After sending email (Email the results is enabled, but I don't really send any email).
When I run the form directly (as a menu item), the code in the onSubmit exectutes.
BUT - when I get to the form from chronoconnectivity (using {edit_record} or {new_record}, none of the onSubmit codes works.
Any idea?
Emanuel.
I'm trying to INSERT/UPDATE posted data to a second table.
The best logical place seams to be onSubmit After sending email (Email the results is enabled, but I don't really send any email).
When I run the form directly (as a menu item), the code in the onSubmit exectutes.
BUT - when I get to the form from chronoconnectivity (using {edit_record} or {new_record}, none of the onSubmit codes works.
Any idea?
Emanuel.
Hi Emanuel,
Sorry I've lost track of how CC links to CF -I just use direct URL links.
Have you tried connecting to both tables through the DB Connection? That might work OK.
Bob
Sorry I've lost track of how CC links to CF -I just use direct URL links.
Have you tried connecting to both tables through the DB Connection? That might work OK.
Bob
Hi Bob,
As far as I remember, Chronoconnectivity can handle only one table, but I'll check this approach.
Meanwhile, until I'll get an answer about this issue, I'm working on updating the second table using JSON and the EXTRA code.
The onSubmit pieces of code are, to my opinion, key elements in Chronoform and are part of what makes this extension so versatile within Joomla framework, so I hope I'm just doing something wrong here...
I hope Max or Fredrik can help here...
Thanks anyway,
Emanuel.
As far as I remember, Chronoconnectivity can handle only one table, but I'll check this approach.
Meanwhile, until I'll get an answer about this issue, I'm working on updating the second table using JSON and the EXTRA code.
The onSubmit pieces of code are, to my opinion, key elements in Chronoform and are part of what makes this extension so versatile within Joomla framework, so I hope I'm just doing something wrong here...
I hope Max or Fredrik can help here...
Thanks anyway,
Emanuel.
This topic is locked and no more replies can be posted.