I found a possible solution while investigating calculations using XLSXForm.
Use the formula .>=0 and .<100 in the constraint field. If the user enters a value outside of the range 0-99 the question will be highlighted in red and the form cannot not be submitted - see the screenshots below