Forms: add min/max validation rules.