PageSourceSearch

https://www.nelectra.be/modules/forms/validation/validation.js

js nelectra.be collected 2026-09-29 03:05:49 UTC 1,266 bytes, 55 lines download raw bytes

1/*
2 NIET VERWIJDEREN
3
4Dit mag aangepast worden voor klant
5label: string
6    Komt terug aan achterkant
7id: string
8    Uniek maken
9 validator: regex
10 type: (string of array van strings)
11    Een of meerdere van text, email, phone, zipcode
12
13 */
14
15
16var cciApp = cciApp || {};
17
18cciApp.validation = [
19    {
20        label: 'Geboortedatum (dd-mm-yy)',
21        id: 'birthdate',
22        validator: /^(?:0[1-9]|[12]\d|3[01])([\/.-])(?:0[1-9]|1[012])\1(?:19|20)\d\d$/,
23        type: 'text'
24    },
25    {
26        label: 'IBAN format (NL)',
27        id: 'iban',
28        validator: /^NL[0-9]{2}[A-z0-9]{4}[0-9]{10}$/,
29        type: 'text'
30    },
31    {
32        label: 'IBAN format (BE)',
33        id: 'iban_BE',
34        validator: /^BE\d{2}\d{12}$/,
35        type: 'text'
36    },
37    /*{
38        label: 'Postal code PL',
39        id: 'pc_PL',
40        validator: /^\d{2}-\d{3}$/,
41        type: ['text', 'zipcode']
42    },
43    {
44        label: 'Phone Belgium',
45        id: 'phone_BE',
46        validator: /^((\+|00)32\s?|0)(\d\s?\d{3}|\d{2}\s?\d{2})(\s?\d{2}){2}$/,
47        type: 'phone'
48    },
49    {
50        label: 'Waardering tussen 1 en 10',
51        id: 'mark1_10',
52        validator: /^[1-9]{1}$|^10$/,
53        type: 'text'
54    }*/
55];

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.