Forms: add min/max validation rules.
Merge pull request #1347 from xificurk/forms-min-max

Forms: add min/max validation rules.