$('#feedback-form').validate({
errorClass: "invalid",
errorElement: "div",
rules: {
username: {
required: true,
minlength: 2,
maxlength: 15
},
email: {
required: true,
email: true
},
phone: "required",
},
messages: {
username: {
minlength: jQuery.validator.format("от 2 до 15 символов"),
maxlength: jQuery.validator.format("до 15 символов"),
required: "укажите имя"
},
phone: {
required: "укажите телефон"
},
email: {
email: "введите корректный email",
required: "укажите email"
},
},
submitHandler: function(form) {
yaCounter53521924.reachGoal ('ask');
}
});
RewriteRule ^subdirectory/(.*)$ https://subdomain.domain.com/ [R=301,L,NC]
RewriteRule ^subdirectory/(.*)$ https://subdomain.domain.com/ [R=301,L,NC]
RewriteRule ^(your_folder/.*)$ https://subdomain.domain.com/ [R=301,L,NC]