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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Is it possible to require a field when updating or adding to a complex tablefield or dataobjectoperator


Go to End


4 Posts   1073 Views

Avatar
vancouverWill

Community Member, 121 Posts

5 September 2009 at 6:34am

Is it possible to require a field when updating or adding to a complex tablefield or dataobjectoperator?

The question is in the title but I would really like to know if this is something basic I have missed. I can see why you don't need it on pages but for complex fields not having a required options means people can keep adding junk without even thinking about it. It is really necessary and as far as I can see is a bug unless there is some way to do it that I am missing.

Help much appreciated.

Avatar
JoshuaLewis

Community Member, 81 Posts

6 September 2009 at 4:23am

I've been wondering about this myself but haven't had the chance to go looking for a solution yet.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

6 September 2009 at 4:54am

You can't use required field in DOM popups at this point due to JS conflicts. It won't be possible until Silverstripe migrates their JS framework over to JQuery in 2.4.

Avatar
vancouverWill

Community Member, 121 Posts

3 June 2010 at 9:44am

Any news on this now 2.4 is out and stable?

Thanks