The number fields in the Content Manager should have the Min and Max values, which can be specified in the Content-Type Builder, as attributes in the field, so that no number outside this range can be entered.