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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

Gridfield "advanced" Action


Go to End


965 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