I'm trying to disable and enable validation depending on the user selection. On my solution i would like to only validate if the user enters a start or end date. So far if you look at part of my solution code(copied to kendo ui dojo http://dojo.telerik.com/uyOHa ) i have some of the validation working. I will put down a couple of scenario on how i need it to work.
scenario 1(working)
User doesn't enter dates, Validation not needed
scenario 2(working)
User enters a start or end date. This will validate the text boxes.
scenario 3(NOT WORKING)
User enters start and end date. Click Search. Then Clear both date fields and validation is how showing for these two text boxes. I wish to have the validation hidden at this point. The only way i can do this so far is by clearing the text boxes then hitting search again.
Thanks in advance!
scenario 1(working)
User doesn't enter dates, Validation not needed
scenario 2(working)
User enters a start or end date. This will validate the text boxes.
scenario 3(NOT WORKING)
User enters start and end date. Click Search. Then Clear both date fields and validation is how showing for these two text boxes. I wish to have the validation hidden at this point. The only way i can do this so far is by clearing the text boxes then hitting search again.
Thanks in advance!