screnshaw
08/31/2022, 3:05 PMconst isCardOnFile = dmHelper.parseBool(rec.getValue('custbody_mes_card_on_file'));
const selectCardField = rec.getField('custbody_mes_select_card_on_file');
selectCardField.isMandatory = !!isCardOnFile
Sandii
08/31/2022, 3:09 PM.isMandatory
only adds that asterisk and you need to add the validation yourself on save.screnshaw
08/31/2022, 3:11 PM