Model-Driven-Apps: How to use setIsValid method
Views (7)
When dealing with client script customization, most of the time we are dealing with data validation where the common steps are like the below snippet: var blog = blog || {}; (function() { this.formOnLoad = function(executionContext){ var formContext = executionContext.getFormContext(); formContext.getAttribute("tmy_transactiondate").addOnChange(validateOnChangeTransactionDate); formContext.getAttribute("tmy_dateonly").addOnChange(validateOnChangeDateOnly); } var validateOnChangeDateOnly = function(executionContext){ var formContext = executionContext.getFormContext(); var date = formContext.getAttribute("tmy_dateonly").getValue(); … Continue reading Model-Driven-Apps: How to use setIsValid method
This was originally posted here.

Like
Report
*This post is locked for comments