Vergleich jscripts/regvalidator.js - 1.8.25 - 1.8.33

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1Zeile 1
$(function () {

$(function () {

 
	$.validator.messages.required = lang.js_validator_not_empty;


	$('#registration_form').validate({
rules: {
username: {

	$('#registration_form').validate({
rules: {
username: {

Zeile 7Zeile 9
				maxlength: regsettings.maxnamelength,
remote: {
url: 'xmlhttp.php?action=username_availability',

				maxlength: regsettings.maxnamelength,
remote: {
url: 'xmlhttp.php?action=username_availability',

					type: 'post',
dataType: 'json',
data:
{
my_post_key: my_post_key
},
},
},

					type: 'post',
dataType: 'json',
data:
{
my_post_key: my_post_key
},
},
},

			email: {
required: true,
email: true,

			email: {
required: true,
email: true,

Zeile 36Zeile 38
		},
messages: {
username: {

		},
messages: {
username: {

 
				required: lang.js_validator_no_username,

				minlength: lang.js_validator_username_length,
maxlength: lang.js_validator_username_length,
},

				minlength: lang.js_validator_username_length,
maxlength: lang.js_validator_username_length,
},

Zeile 65Zeile 68

$(input_type + '[name="profile_fields[' + this.fid + ']' + depth + '"]').rules('add', {
required: true,


$(input_type + '[name="profile_fields[' + this.fid + ']' + depth + '"]').rules('add', {
required: true,

			messages: {
required: lang.js_validator_not_empty
}

 
		});
});


		});
});


Zeile 87Zeile 87
				},
},
messages: {

				},
},
messages: {

				remote: lang.js_validator_no_image_text

				required: lang.js_validator_no_image_text

			}
});
}

			}
});
}

Zeile 108Zeile 108
				},
},
messages: {

				},
},
messages: {

				remote: lang.js_validator_no_security_question

				required: lang.js_validator_no_security_question

			}
});
}

			}
});
}

Zeile 142Zeile 142
				messages: {
minlength: lang.js_validator_password_length,
required: lang.js_validator_password_length,

				messages: {
minlength: lang.js_validator_password_length,
required: lang.js_validator_password_length,

					remote: lang.js_validator_no_image_text

 
				}
});
} else {

				}
});
} else {