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

Can I have a validator for the pop-up form


Go to End


3 Posts   1579 Views

Avatar
HilaryB

Community Member, 11 Posts

21 January 2010 at 5:16am

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

Forum Moderator, 4102 Posts

21 January 2010 at 7:05am

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

Community Member, 11 Posts

21 January 2010 at 10:25pm

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