@@ -5,14 +5,16 @@ public static class ErrorMessagesTestHelper
55 {
66 public const string InvalidFormatError =
77 @"The format you entered isn’t recognised. Please check and try again.
8- Valid formats include
9- 7 digits - example, 1234567
10- 1-2 letters followed by 6 digits - example, AB123456
11- ‘P’ followed by 5-6 digits - example, P12345, P123456
12- ‘C’ or ‘P’ followed by 6 digits - example, C123456, P123456
13- Optional letter followed by 5-6 digits - example, A12345, B123456
14- ‘L’ followed by 4-6 digits - example, L1234, L123456
15- 2 digits, hyphen, then 4-5 alphanumeric characters - example, 12-AB123" ;
8+ <br>Valid formats include:
9+ <ul>
10+ <li>7 digits - example, 1234567</li>
11+ <li>1–2 letters followed by 6 digits - example, AB123456</li>
12+ <li>‘P’ followed by 5–6 digits - example, P12345, P123456</li>
13+ <li>‘C’ or ‘P’ followed by 6 digits - example, C123456, P123456</li>
14+ <li>Optional letter followed by 5–6 digits - example, A12345, B123456</li>
15+ <li>‘L’ followed by 4–6 digits - example, L1234, L123456</li>
16+ <li>2 digits, hyphen, then 4–5 alphanumeric characters - example, 12-AB123</li>
17+ </ul>" ;
1618
1719 public const string MissingNumberError = "Enter a professional registration number" ;
1820 public const string LengthError = "Professional registration number must be between 4 and 8 characters" ;
0 commit comments