add validate for price input