Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

Gridfield - Save and add another

Go to End

12 Posts   2246 Views


26 September 2012 at 8:38pm Community Member, 5 Posts

Hi All,

I'm fairly new to SilverStripe, so I'm still getting to grips with it.

I have setup a datagrid / gridfield and find it annoying that when you save, you cannot go straight to add another item. Is there a way to add a button next to 'Create' and 'Cancel' which could say 'Create and add another' which saves the current item, and takes you back to a new form to add another item?

This would be a great feature as adding items to the gridfield seems to be so long winded.

Thanks in advance for any help...


26 September 2012 at 11:26pm Community Member, 215 Posts

Hey there, welcome to SilverStripe - currently this isn't built in but I think it's a good idea. I have raised it as an enhancement ticket on the core dev site

If you feel like diving in and building it then that would be more than welcome!


21 January 2013 at 8:55am Community Member, 5 Posts

Hi All,

I am having the same problems.

Is there a way to have two buttons:
1. save and go back to datagrid
2. save and leave on this page



11 February 2013 at 6:24am (Last edited: 11 February 2013 6:24am), Community Member, 168 Posts


same here. Has anybody a solution for that?

Greetings, Carsten.


18 April 2013 at 7:16am Community Member, 45 Posts

Hi all,

unclecheese made a module for this problem:




27 May 2013 at 1:57pm Community Member, 4 Posts

I'm not having any joy with the better buttons module and wonder if anyone can point out where I'm going wrong?

I've downloaded the zip file from [url][/url] and unpacked it into its own 'betterbuttons' directory. ran /dev/build and ?flush=all without error, but no new buttons are turning up on my add or edit pages for gridfield records.

I'm running the site in dev mode, but no error messages are showing up on the screen or in the error log file.

Should I be adding any code to the gridfield config with addComponent?


14 June 2013 at 5:56pm Community Member, 18 Posts

botheredbybees any luck resolving this? having the same issue.


21 June 2013 at 4:14pm Community Member, 4 Posts

nope, I've had to shelve this one and go back to Silverstripe's default record adding clickfest

Go to Top