PageSourceSearch

https://escolasdevalor.pt/scripts/jquery.validate.novos-metodos.js

js escolasdevalor.pt collected 2026-10-06 07:19:22 UTC 654 bytes, 16 lines download raw bytes

1/*!
2 * jQuery Validation Plugin v1.19.2
3 *
4 * https://jqueryvalidation.org/
5 */
6
7$.validator.addMethod( "postalcodePT", function( value, element ) {
8	return this.optional( element ) || /^\d{4}-\d{3}?$/.test( value );
9}, "The specified Portuguese Postal Code is invalid" );
10
11$.validator.addMethod("pwcheck", function(value) {
12   return /^[A-Za-z0-9\d=!\-@._*]*$/.test(value) // consists of only these
13       && /[a-z]/.test(value) // has a lowercase letter
14       && /[A-Z]/.test(value) // has a uppercase letter
15       && /\d/.test(value) // has a digit;
16}, "A password tem de conter pelo menos 8 caracteres, 1 maiúscula, 1 minúscula e 1 algarismo." );

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.