Using DNN 4.9.5 and DR
4.1.43.16605.
We have a textbox question to collect the users phone number. And want to validate it in the format of 999-999-9999 whenever the details are updated going forward.
As some of the existing data isn't in this format we cannot use the masking ability as that won't show any of the existing data.
In the validation section for the question we have checked the 'Required Field', entered text into the 'Required Text' and 'Required Field Error' boxes. We have also check the 'Use regular expression' check box, entered \(?\d{3}[-.]\)? ?\d{3}[-.]\d{4} (straight from the DR manual) in the 'regular expression' box as well as text into the validation text and error message boxes.
When we run the form the phone number question displays the required field error if nothing is entered but the regex validation isn't being done.
Any ideas why?
TIA
Antony