I'm working on an application with two input fields that's validated in different ways with RequiredFieldValidator, RangeValidator and so on. I need one more validation and that is to check that the number the user writes in input1 isn't bigger than in input2, and here's the question.
Is it possible to use validation controls to compare 2 input fields, or do I need to write code for it? I'm using a ValidationSummary control and of course I want to show all the errors with this. If it isn't possible to use validation controls to compare 2 input fields and I need to write code for this, is it possible to show the error message with the ValidationSummary anyway, and in that case how?
Thanks in advance!