In suitescript 1, how could we change the field as mandatory if some field is changed?
r
raghav
08/24/2023, 11:50 AM
Create a flag global variable in pageinit.
During the field change update that flag if field gets updated
And in saveRecord use that flag to know whether the field is changed or not and make the field mandatory.