concrete5/concrete5 — pull request #340 by mkly (2011-12-12 01:54:52+00:00)
Title: Allow for future attribute type validation

I know you are probably not going to take this. I'm 98% sure you won't. But I guess I had to try.

This doesn't actually do anything right now, but it allows for the creation of packages/addons that can validate themselves.

For example an addon can create a custom user attribute that a site editor can add an then set basic validations. Like less than 1000 or more than 5 letters. I had been thinking about it and figured there was no chance but then I read this blog post

http://c5blog.jordanlev.com/blog/2011/12/file-upload-attribute-for-user-registration/

and realized that I wasn't the only one that was bummed out but the limitation.

I just feel like is more MVC appropriate to do the validation at this level.