Updating Field Label from Client Script
Does anyone have any techniques for modifying a field label based on a field value in a Client Script fieldChanged
event? It doesn’t appear you can use a combination of nlapigetField()
and nlobjField.setLabel()
.
Not sure if the abilities of SuiteScript 1.0 and 2.0 differ, but I have set/updated the label text during fieldChanged event before.
For me just getting field using currentRecord.getField()
and setting the Field.label
property worked on ClientScript