And I want to create my own validator with Backbone.validation.
I have tried this:
_.extend(Backbone.Validation.validators, {
    myValidator: function(value, attr, customValue, model) {
        if(value !== customValue){
            return 'error';
        }
    },
});
And in my schema:
profiles: {
    editorClass: "form-inline test",
    title: "Skills",
    type: 'List',
    itemType: 'NestedModel',
    model: UserProfile,
    render: "buttonsstars",
    validators: ['myValidator'],
},
But, i couldnt get anything.
 
    