17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 642 Views |
-
Can I have a validator for the pop-up form

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?
-
Re: Can I have a validator for the pop-up form

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.
-
Re: Can I have a validator for the pop-up form

21 January 2010 at 10:25pm
Thank you for replying uncle Cheese. I'll look forwards to the arrival of 2.4
| 642 Views | ||
|
Page:
1
|
Go to Top |

