Is it possible to set other form field mandatory from JS in ftl template like:
function updateChanges${field.name?substring(5)}() {
window.alert("function started");
var propertyList = ("${field.control.params.filteredProperty}").split(",");
document.getElementById("${args.htmlid}_prop_" + propertyList[0]).mandatory= false;
return false;
}
This one doesn't work, but function gets called.