Min and max validation now use type attribute to determine behavior
Merge pull request #355 from codethug/minmax2

Min and max validation now use type attribute to determine behavior