Overriding Remote Validation
Hi,
I have a scenario where I have an input form that is expecting numeric values. I am using remote validation to check that the value you entered is within a specific range (there is a reason I am not using the range validation). The remote script responds with true/false depending on whether the value is acceptable.
If the value is not acceptable, then it displays the error message in the errorContainer as normal, however, I would like the user to be able to somehow bypass this validation if the value is, in fact, true.
Real world example... an Operator is entering a pH value for a water system. We expect the value for this facility to be within the range of 6.5 to 8.5. If he enters 9, it needs to display an error and say "that value appears too high". If he realizes he typed 9 instead of 8, he could edit the value and click submit again just like any normal validation, but if the value really is 9, then the form needs to somehow allow him to submit it with the value being out of range. Of course, on the server side, we are going to flag that value and notify an administrator that a value is too high and may require additional action, but the first step is to allow the user to bypass the validation, so the value can be submitted.
Any ideas how to make this work using jQuery Validate?
-Steve