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

Set Value based on Gridfield used to Add Object


Go to End


2 Posts   1382 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?