Join Slack
Powered by
how can i hide a field in View mode based on a val...
# suitescript
p
pen one
09/22/2020, 12:10 AM
how can i hide a field in View mode based on a value of another field? I suspect I can use the serverwidgets module but am unclear on how to do this. any tips appreciated.
b
battk
09/22/2020, 12:17 AM
use a beforeLoad user event script
battk
09/22/2020, 12:18 AM
use
Field.updateDisplayType
p
pen one
09/22/2020, 12:37 AM
Thanks. How do I get the already create form? I assume I would be using:
var field = form.getField({
id : 'custbody105'
});
b
battk
09/22/2020, 12:40 AM
look at the parameters of the
beforeLoad
entrypoint
✔️ 1
k
Kevin
09/22/2020, 1:53 AM
also, you could use workflow
10
Views
Open in Slack
Previous
Next