Buy Now
Sign in

Update form with new inser id

webcrea , October 17 2017
Answered
webcrea
Hello,

I would want to update a form with the new insert id created after a save data.

I need it because i have some dependencies. I need to know primary id to create new insert without submit form and recall it.

A json for example ?

Thanks
Christophe
http://www.webcrea.fr
GreyHead
Hi Christophe,

The new record id is added to the $form->data array after the DB Save - you can get it from there. Add a Debugger action temporarily to see where the value is.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
webcrea
Thanks Bob,
Christophe
http://www.webcrea.fr