Regularexpressionvalidator not validating

22 Dec

As I understand this correctly it wouldn't be working within Visual Studio as it does not support Java Script, right? As a last option, you could create a server work item save advisor, that prevents saving the unassigned value. 4.0.3 (altho I also tried on 4.0.1) created a workitem (defect) , typed into the title and pressed Save. the initial category is 'Unassigned' with this precondition set.

Code for an advisor (but for delivery) can be fond here: The advantage of such a solution is, that it works for all clients. In our case there is saving possible with value "unassigned" though the "Filed Against" is set as "required" attribute. (default) Hi Sam, thanks for this but as described above, our "Filed Against" attribute is set to "required", too: We have the little asterisk symbol within the work item mask but are able to save.

I copied exactly your example on demo page of Rad Input validation do do further testing but with no results (I even stripped it down a basic 1 textbox 1 validator, I tryed with standard asp textboxes, I searched the web for 4 hours now finding all kind of answers even in this forum, all with no luck).

Things I can say in advance: - The script resources all loads correctly (checked both in Google Chrome developers console and Firefox Firebug consol.

Now have a look in the Properties tab of Visual Studio. No 404 or 500 errors) This doesn't happen in my real code btw, just happens on the page I copy/pasted from your on-line example to make tests (I will report the code down here).This means that somehow I fixed that second bug in my real project but I don't remember how.Here is an example where we require a 4 digit number - nothing else is acceptable: The only new attribute we use, is the validationexpression.This attribute simply holds the Regular Expression which should be used to validate the field.