How can I create a warning level notification on top of the built-in unobtrusive check?
A fully compiled example: I allow people to indicate how long they will wait for tables from the start of their reservation. It should be from 0 to 12 hours (there are no negative expectations, and there was nothing closing time), but you can also ask βare you sureβ about the 5-hour wait?
Obviously, you could do this one-time in the field by field field, but I would like to have it based on the attributes of the data model, since where I would have the β0 to 12β check.
So, from my head, I see the need for what extends ValidationAttribute and implements IClientValidatable. I also need to add my validator validation method to a custom JavaScript file. This is true?
source share