{"action":"opened","issue":{"url":"https://api.github.com/repos/formvalidation/support/issues/423","labels_url":"https://api.github.com/repos/formvalidation/support/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/formvalidation/support/issues/423/comments","events_url":"https://api.github.com/repos/formvalidation/support/issues/423/events","html_url":"https://github.com/formvalidation/support/issues/423","id":121937949,"number":423,"title":"callback validator  does not calculate integer value correctly","user":{"login":"Dror1966","id":13219230,"avatar_url":"https://avatars.githubusercontent.com/u/13219230?v=3","gravatar_id":"","url":"https://api.github.com/users/Dror1966","html_url":"https://github.com/Dror1966","followers_url":"https://api.github.com/users/Dror1966/followers","following_url":"https://api.github.com/users/Dror1966/following{/other_user}","gists_url":"https://api.github.com/users/Dror1966/gists{/gist_id}","starred_url":"https://api.github.com/users/Dror1966/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dror1966/subscriptions","organizations_url":"https://api.github.com/users/Dror1966/orgs","repos_url":"https://api.github.com/users/Dror1966/repos","events_url":"https://api.github.com/users/Dror1966/events{/privacy}","received_events_url":"https://api.github.com/users/Dror1966/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-13T19:25:59Z","updated_at":"2015-12-13T19:25:59Z","closed_at":null,"body":"I tried to  validated between 2 fields expiredBox1 and expiredBox2\r\n\r\nThis is the callback validation on a field name expiredBox2\r\nexpiredBox2 must be grater then expiredBox1\r\n\r\nValidation code:\r\n-------------------------------------------------------------------------------------------------------\r\nexpiredBox2: {\r\n\tvalidators: {\r\n\t\t\tcallback: {\r\n\t\t\t\t\tmessage: 'Must be greater then itemBox1 value',\r\n\t\t\t\t\tcallback: function (value, validator, $field) {\r\n\t\t\t\t\tvar itemBox1 = $('#expiredBox1').val();\r\n\t\t\t\t\treturn value > itemBox1;\r\n\t\t\t\t\t};\r\n                }\r\n            }\r\n}\r\n-------------------------------------------------------------------------------------------------------\r\nexpiredBox1 = 30  expiredBox2 = 20   -  validation done ok send error \r\nexpiredBox1 = 30  expiredBox2 = 40  -  validation done ok send success\r\nexpiredBox1 = 30  expiredBox2 = 90   -  validation done ok send success\r\nexpiredBox1 = 30  expiredBox2 = 100   -  validation failed  << this is the problem any number between 100 - 299 failed to validate  \r\nif expiredBox2 is above 299 validation done ok .. \r\n\r\nI suspect that  validation is done for first digit... .. \r\n\r\nplease help \r\n\r\nThank Dror "}}