jQuery.validator.addMethod("numeric", function (value, element) {
    return this.optional(element) || /^-?(?:\d+|\d+(?:[\,]\d+))?$/.test(value);
}, "Only numbers and comma, please.");
/*
 * Translated default messages for the jQuery validation plugin.
 * Language: RU
 */
jQuery.extend(jQuery.validator.messages, {
        required: "Este campo es obligatorio",
        date: "Please, enter date in dd/mm/yyyy format, e.g. 25/06/1985",
        dateTime: "Please, enter date in dd/mm/yyyy hh:mm format, e.g. 25/06/1985 8:00",
        categoriesfield: "Este campo es obligatorio",
        assetsfield: "Este campo es obligatorio"
    });

