is it possible to hide a custom column based on a ...
# suitescript
p
is it possible to hide a custom column based on a custom field via ss.
j
You can do that in a beforeLoad function in a User Event script. You get the column from the form object and set it to hidden or something like that.
p
was actually trying to do it in a fieldchange event. so that when the user checks a box it will show a column in the items section.
j
If you’re trying to do it in a client script you don’t have access to the form so you can’t do it with native SuiteScript. That being said you could use some html manipulation to hide it if you wanted to.
p
Good idea. Some good old .hide().