<@U9LJMRYGM> I'm not sure how to access the field ...
# suitescript
j
@Saul I'm not sure how to access the field object, do you have an example?
s
which version of suitescript are you using? and also in what context (userevent/client/suitelet)?
j
2.0 version, and its in a userevent
s
something like this should work var customField = scriptContext.form.getField({ id: 'customfield_id' }); then get
customField.type
given that scriptContext is the parameter to the userevent entry point
j
it works, thanks