I have a textbox that I want the user to enter an integer in.
1) I have created a required field validator, to ensure it is not left blank. 2) A compare validator, to ensure the value entered is an integer using datatypecheck. 3) A range validator to limit the range of the entered integer.
If a letter is entered, instead of an integer, errors from both 2) and 3) are displayed.
Is there a way to only show the error from 2) if a letter is entered and 3) if the integer is out of range - rather than both?