silverstripe / silverstripe-widgets

Widgets subsystem for Silverstripe CMS
http://silverstripe.org
BSD 3-Clause "New" or "Revised" License
38 stars 55 forks source link

CMS Fields validation for widgets. #92

Closed steve-mt closed 7 years ago

steve-mt commented 9 years ago

Is it possible to have validation for the fields found in the CMS for a specific widget.

I have tried the usual method for each Dataobject but it doesn't seem to be working.

public function getCMSValidator(){
}
robbieaverill commented 7 years ago

@SteveAzz if this is a question it might be more suitable for SilverStripe forums, the community Slack channel or Stackoverflow. If this is a bug report, please provide a version and enough code to reproduce the error. Thanks :)