Hello, I'm trying to build a custom validator but noticed some changes regarding the js in 5.4. Does anybody know of a simple approach to handling the js piece of the code?
javaScriptSupport.require("t5/core/validation"); writer.attributes(DataConstants.VALIDATION_ATTRIBUTE, true, "data-validate-maxscale", constraintValue.toString(), "data-maxscale-message", buildMessage(formatter, field, constraintValue)); I'm not sure if I should be using coffee or what I'm suppose to be doing. Thanks.