Skip to content

equalTo failed #211

@kiro112

Description

@kiro112

validation: function() {
return {
username: {
required: true,
msg: ''
},
password: {
minLength: 8
},
rePassword: {
equalTo: 'password',
msg: 'The passwords does not match'
},
name: {
required: true,
msg: '
'
},
address: {
required: false,
msg: ''
},
email: {
required: true,
msg: '
'
}
};
}

the rePassword and password is always not match even if it is match
im using Backbone.Validation v0.9.1
with model.preValidate()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions