How can the same number of input restrictions be done?

I have encountered a new problem and hope for the cooperation of experts. Suppose my question type is "Integer". Now if I input a number, How can the same number of input restrictions be done?

It would be better if you could attach your XLSForm here explaining little bit more.