⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

How to display details form with insert_id after inserting the form details



icynta

icynta
  • profile picture
  • Member

Posted 19 November 2019 - 10:05 AM

I am a newbie to Grocery crud so excuse me if im silly. Im working on project where I use a form to create residents and another form for resident details. What I need to do is after creating a resident, The user should be re-directed to another form to enter the created resident's details.

 

I guess I have to use callback_after_insert() to get the insert_Id and pass it another method which is on the same controller. But before proceeding please guide me with an example if possible.