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.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

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

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


Reply

4 Posts   835 Views

Avatar
vancouverWill

5 September 2009 at 6:34am Community Member, 121 Posts

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

6 September 2009 at 4:23am Community Member, 76 Posts

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

Avatar
UncleCheese

6 September 2009 at 4:54am 4085 Posts

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

3 June 2010 at 9:44am Community Member, 121 Posts

Any news on this now 2.4 is out and stable?

Thanks