Forums

Update form with new inser id

webcrea 17 Oct, 2017
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
GreyHead 18 Oct, 2017
Answer
1 Likes
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
This topic is locked and no more replies can be posted.