how can i hide a field in View mode based on a val...
# suitescript
p
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
use a beforeLoad user event script
p
Thanks. How do I get the already create form? I assume I would be using:
var field = form.getField({
id : 'custbody105'
});
b
look at the parameters of the beforeLoad entrypoint
✔️ 1
k
also, you could use workflow