Buy Now
Sign in

CCv5 + CF5 - Update values and save all into another table

Kronosites , September 30 at 21:03
K
Kronosites

Hello!

I'm using CCv5 + CFv5, and all workds OK.
From CCv5 loads a CFv5 form and, when save, the variables updates correctly.

Having this, how can I save the same variables into another table?

I've try to put a DB SAVE action into LOAD event of form (to save the "original" info), but saves all variables as empty.

What I'm doing wrong?
thanks

GreyHead

Hi KronoSites,

When you call a form from CC all that is passed over is a record identifier, not the record itself. Then CF loads the record data - I'm not sure at what point it does that though. You can probably use a Debugger action in the On Load event of the form to check at what point the data is available to be re-saved.

Bob

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much

K
Kronosites

Hello GreyHeah,

Here you have all the information:

CCv5 list:
https://i.imgur.com/CVuPBVi.jpg

DEBUGGER of CFv5 when edit a row in the through the CCv5:
https://i.imgur.com/k3aYFUx.jpg
https://i.imgur.com/6cfDOd6.jpg

DB_SAVE:
Having equal to this image, no error is showed but the row created have all the fields empty.
https://i.imgur.com/n8AzamD.jpg
https://i.imgur.com/CFmu0jU.jpg

mySQL Database:
https://i.imgur.com/gJX2nxd.jpg