In a UserEventScript beforeSubmit, can I get the t...
# suitescript
w
In a UserEventScript beforeSubmit, can I get the text of a dropdown instead of the value?
s
Did you try getText instead of getValue
w
yes
error is Invalid API usage. You must use getValue to return the value set with setValue.
s
Then you need to perform a search to get the text, it is not sourced yet on beforeSubmit.