I am trying to hide 'item' field on the task recor...
# suitescript
a
I am trying to hide 'item' field on the task record using User Event Script. But for some reason the field is not hiding in view mode(it is working fine in both edit and create mode). Any ideas ??
s
How are you hiding the field, can you share that snippet
a
Here is my code @Sandii
s
ah in view mode, the obj.newRecord might not have all the values you actually want, I would guess if you logged formid, it would be
undefined
a
let me try it once.
I can see empty value for formid @Sandii. So how do we achieve this in view mode ??
s
You need to actually load the record to access that, in View mode it is only getting certain information like
id
,
type
a
got it. Thanks @Sandii.