Hi community
plz check my code its not working duedate and lessdate validation
Like
2 comments
10:27 Oct 15, 2018
To check your code, you may do Client code debugging. You can trace your code line by line put breakpoints and to see the values of your variable.
https://academy.bpmonline.com/sites/default/files/documents/docs_en/tec…
22:25 Oct 15, 2018
You have 2 times validator checks the same column
Work samples from ActivityPageV2 in UIv2
And you connected the page with row resources? If not, there will be no error message!
Show all page code
setValidationConfig: function() { this.callParent(arguments); this.addColumnValidator("OffsetDueDate", this.validateOffsetDueDate); }, validateOffsetDueDate: function(column) { var invalidMessage = ""; if (!this.Ext.isEmpty(column) && this.get("OffsetStartDate") > column && this.get("TimezoneContainerVisible")) { invalidMessage = resources.localizableStrings.DueDateLowerStartDate; } return { fullInvalidMessage: invalidMessage, invalidMessage: invalidMessage }; },
Show all comments