I've been digging into this a bit more and am wondering if the getCMSValidator can handle complex rules or if it's just checking for a value. I looked through the validator class and it looks like it's just looking for any value. I know the EmailField has additional validation so I'll poke around there as a starting point to additional validation on a form field, but wanted to raise the question. I know in things like the CsvBulkLoader you can pass to functions for verification/object requests. Probably unrelated but would be cool to be able to have array('FieldName' => '->fieldValidationCheck') to set up perimeters.
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.
Go to End
- Previous 10 entries
- 1
- 2
- Page 33(current)
Go to Top
- Previous 10 entries
- 1
- 2
- Page 33(current)