Is there a way to constrain the allowed values in a number field?