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

Set Value based on Gridfield used to Add Object


Go to End


2 Posts   965 Views

Avatar
Jakx

Community Member, 3 Posts

27 August 2013 at 6:51pm

Yo,

What do I need to add to a GridField in order to set a value on any Object that is Added to via GridField.

E.g If I have a TabSet of each day of the week (Monday, Tuesday, Wednesday etc...), and a GridField on each Tab named after the weekday. When an object is added to that GridField, how can I set the weekday as a value of that Object?

Avatar
Lukin

Community Member, 56 Posts

26 May 2014 at 10:16pm

Did you find a way to manage that?