New answers tagged validation
Just include the / in the character class. But since you are using / as the regex delimiter you need to escape it as well as /. Hope this helps
The secret is the formulas are the exact same ones used in Excel. Make a spreadsheet with a column of test data, some valid and some not, and then built up logical formulas in a nearby column. You'll know you have the formula right when the formula column says "TRUE" for all the valid test data and anything else for invalid data. It doesn't have to say ...
I needed a simple method to determine if there was at least on error in a form field on any of the tabs. Because ms-error is present in the DOM before an error has occurred (people picker), I had to find a different way. Also, because different fields render the error message in different ways, I had to account for all methods in my form. What I ended up ...
Top 50 recent answers are included