my bad, field.isMandatory = true
# suitescript
a
my bad, field.isMandatory = true