Added HTML5 validation for quantity fields