Enter a number and click OK:
If the number is not between 1 and 10, a custom error message will be displayed.