PageSourceSearch

https://www.marykay.nl/api/sitecore/guardsvalidation/getscript

js marykay.nl collected 2026-10-08 14:10:08 UTC 2,101 bytes, 71 lines download raw bytes

1var guards = [];            // Holds all active Guards instances, one is declared for each Guards Group (validation group) found on the current page.
2var guardsGroupsObjs;       // Holds all page elements that contain a 'data-guards-group' attribute. Used to determine all unique Guards Groups on the current page.
3var guardsGroupsNames = []; // All unique/distinct Guards Groups on the current page.
4
5var guardsTypeDefinitions = [];
6guards.isLiveGuard = 'false';
7
8guardsTypeDefinitions.push({
9'typeName': "required",
10'associatedGuards': { "required":"" },
11'matchingPattern': "",
12'matchingWords': "",
13'minimumValue': "",
14'maximumValue': "",
15'comparisonClass': "",
16'errorClass': "error",
17'hasPrecondition': "False",
18'hasPreconditionTargetClass': "",
19'hasPreconditionTargetId': "",
20'useGroupedValidation': "False",
21'excludeEmptyValue': "False",
22});
23
24guardsTypeDefinitions.push({
25'typeName': "password",
26'associatedGuards': { "required":"" },
27'matchingPattern': "",
28'matchingWords': "",
29'minimumValue': "",
30'maximumValue': "",
31'comparisonClass': "",
32'errorClass': "error",
33'hasPrecondition': "False",
34'hasPreconditionTargetClass': "",
35'hasPreconditionTargetId': "",
36'useGroupedValidation': "False",
37'excludeEmptyValue': "False",
38});
39
40guardsTypeDefinitions.push({
41'typeName': "passwordCompare",
42'associatedGuards': { "required":"","same":"Wachtwoord moet overeenkomen" },
43'matchingPattern': "",
44'matchingWords': "",
45'minimumValue': "",
46'maximumValue': "",
47'comparisonClass': "ComparePasswords",
48'errorClass': "error",
49'hasPrecondition': "False",
50'hasPreconditionTargetClass': "",
51'hasPreconditionTargetId': "",
52'useGroupedValidation': "False",
53'excludeEmptyValue': "False",
54});
55
56guardsTypeDefinitions.push({
57'typeName': "phoneUS",
58'associatedGuards': { "required":"","phoneUS":"[[Validation.ValidPhoneNumber]]" },
59'matchingPattern': "",
60'matchingWords': "",
61'minimumValue': "",
62'maximumValue': "",
63'comparisonClass': "",
64'errorClass': "error",
65'hasPrecondition': "False",
66'hasPreconditionTargetClass': "",
67'hasPreconditionTargetId': "",
68'useGroupedValidation': "False",
69'excludeEmptyValue': "False",
70});
71

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.