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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Gridfield "advanced" Action


Go to End


692 Views

Avatar
pklopp

Community Member, 4 Posts

2 March 2013 at 10:38am

Hi everybody,

I want to make a LotteryPage. Now I have participiant-objects and a gridfield to display them. For the lottery I want to create a custom action (with a twist). Before finding the winners, the CMS User has to put in the number of wanted winners.

I got this working with a Form. analogue to the GridField_URLHandler - Tests. Anyhow, after completing the task, I want to redirect back to the gridfield's page.

Is this possible? I couldn't figure out the Backlink() function from the Detailform somehow ...

Cheers,

Wolf