You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is my code for validating a model but the fn: function doesn't update the msg output when you change the value of the form for e.g if I add text 'Admin' it will validate the first part of the value in the if statement but then it will validate the second part and the message changes but the message output won't update so it's always the first msg not the second. My other question is how do you have multiple validations for an fn call back it's like you can't. I mean I want to validate other things that have a function because I have other regular expressions to test that are different from each other. Even if I turn it into an array - multiple fn functions won't work
Below is my code for validating a model but the fn: function doesn't update the msg output when you change the value of the form for e.g if I add text 'Admin' it will validate the first part of the value in the if statement but then it will validate the second part and the message changes but the message output won't update so it's always the first msg not the second. My other question is how do you have multiple validations for an fn call back it's like you can't. I mean I want to validate other things that have a function because I have other regular expressions to test that are different from each other. Even if I turn it into an array - multiple fn functions won't work
`define([
'jquery',
'underscore',
'backbone',
'app',
'backbone-validation',
'models/validation'
], function($, _, Backbone, App, bv, v) {
});`
The text was updated successfully, but these errors were encountered: