⚠ 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

Save and Add New



popoyjin
  • profile picture
  • Member

Posted 27 March 2013 - 10:04 AM

Hi, grocery crud really lessen my development time since I'm new to CI. My problem might be too easy, I need to know on how can it be done when I click the save button, it will not return to the list, instead it will just save and retain to add form. 

 

Thanks in advance.


sachin vairagi
  • profile picture
  • Member

Posted 28 March 2013 - 03:22 AM

there are three buttons in the form :-

1. Save - save record and stay on the add form, here you can add more records.

2. Save and go back to list - save record and returns to the list.

3. Cancel - cancel the process and returns to the list. 


popoyjin
  • profile picture
  • Member

Posted 01 April 2013 - 02:59 AM

there are three buttons in the form :-

1. Save - save record and stay on the add form, here you can add more records.

2. Save and go back to list - save record and returns to the list.

3. Cancel - cancel the process and returns to the list. 

 

Hi Sachin, thanks for seeing this thread, damn stupid I am, I didn't notice the first Save button. Thanks a lot!!!