Hi;
Is it posible to add custom validation not connecting with any page but just run on page validation on Pre_configured page
Like
4 comments
16:42 Aug 01, 2018
Hello,
Please describe the filter more precisely. Where it should work if it doesn't lie on a page.
16:49 Aug 01, 2018
Hi;
When i have a condition base on many elements when I join it to one element it return error ena then when any other validation appear i got the message about wrong validation.
I would like to run validation just at the quiting the page and not asign it to any element
18:23 Aug 02, 2018
tomasz.branicki,
I'd write something like
methods: { onTestClick: function() {}, myValidation: function(callback, scope) { var resultObject = { success: false }; callback.call(scope, [resultObject]); }, asyncValidate: function(callback, scope) { this.callParent([function(result) { if (result.success) { this.myValidation(callback, scope); } else { callback.call(scope, result); } }, this]); } },
Show all comments