How do you disable a line field when creating a ne...
# suitescript
n
How do you disable a line field when creating a new record? lineInit does not trigger
n
Be warned if you hide it you're hiding it for all lines.
n
@NElliott sorry changed my question. I just want to disable a field on every line. It will be based off the role of the person creating the record
n
User Event before Load Get the sublist field and .updateDisplayType({displayType:serverWidget.FieldDisplayType.HIDDEN});
n
how do I get the sublist field if there are no lines yet?
@NElliott
@NElliott Ahhh nevermind. I figured it out. Thanks!