I am trying to hide a button on a form based on the value of a field, but it doesn't seem to be working. The field name is carrier and I have set up the app variable with the expression below and linked it to the button. However, this doesn't work. Any ideas on what might be the issue?
var carrier = rec.get('CARRIER');
appVar.hideBolButton = (carrier === 'LTL') ? false : true;??
var carrier = rec.get('CARRIER');
appVar.hideBolButton = (carrier === 'LTL') ? false : true;??

Comment