Hello,
I try to convert a field with the follow code:
function UpperCaseField(fieldName) {
var value = Xrm.Page.getAttribute(fieldName).getValue();
if (value != null) {
Xrm.Page.getAttribute(fieldName).setValue(value.toUpperCase());
}
}
However it happens nothing! What is wrong?