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

Can I have a validator for the pop-up form


Reply

3 Posts   870 Views

Avatar
HilaryB

21 January 2010 at 5:16am Community Member, 11 Posts

Hi

Generally I think DataObjectManager is a great adition to Silverstripe and have used it a number of times now.

I have recently used it to manage sets of linked sitetreepages and use the SimpleTreeDropdownField which works beautifully. However I would like to make this a required field. I can't see any way to add a validator for this form. I would really appreciate it if someone could tell me if it is possible and if so how?

Avatar
UncleCheese

21 January 2010 at 7:05am 4085 Posts

Unfortunately, no. That's a major limitation of the module right now. There were too many javascript conflicts, and even when they were working together, the page load time was ridiculous, so I ended up just disabling validation. Once Silverstripe drops jsparty in 2.4, it will be much easier to implement.

Avatar
HilaryB

21 January 2010 at 10:25pm Community Member, 11 Posts

Thank you for replying uncle Cheese. I'll look forwards to the arrival of 2.4