So I am trying to do some basic authentication for the final year or so of our InfoPath tools, and am running into two very curious issues.
The first field needs to always be a three-letter combination, to stand for city location (i.e. TWB). I have the authentication rule set to "must match pattern" and the pattern is this: \p{L}\p{L}\p{L}
...which I understand is three letters.
No matter what I enter it is always errored, even the (required) TWB or twb, it's always highlighted and won't let me save. So I delete the authentication to try the next rule.
The next field is a much more complicated, but has a different issue.
It has to look like this:
First Digit = Always a Letter
Second, Third, Fourth Digit = Always number, letter, letter
Fifth Digit = Either
Sixth, Seventh Digit = Either
Eight, Ninth, Tenth Digits = Always number
So I added authentication based on a pattern, with the pattern looking like this: \p{L}\d\p{L}\p{L}..\d\d\d\d
..but this one doesn't error no matter what I do. I can type in all letters and all numbers and it doesn't care - it never shows the dotted red line and allows you to save too.
Am I doing something stupid wrong, or does tis feature just not work?