Zeile 1 | Zeile 1 |
---|
$(function () {
|
$(function () {
|
| $.validator.messages.required = lang.js_validator_not_empty;
|
$('#registration_form').validate({ rules: { username: {
| $('#registration_form').validate({ rules: { username: {
|
Zeile 7 | Zeile 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 36 | Zeile 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 65 | Zeile 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 87 | Zeile 87 |
---|
}, }, messages: {
|
}, }, messages: {
|
remote: lang.js_validator_no_image_text
| required: lang.js_validator_no_image_text
|
} }); }
| } }); }
|
Zeile 108 | Zeile 108 |
---|
}, }, messages: {
|
}, }, messages: {
|
remote: lang.js_validator_no_security_question
| required: lang.js_validator_no_security_question
|
} }); }
| } }); }
|
Zeile 142 | Zeile 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 {
|