Join Slack
Powered by
In a UserEventScript beforeSubmit, can I get the t...
# suitescript
w
William Schamovic
11/24/2020, 8:05 PM
In a UserEventScript beforeSubmit, can I get the text of a dropdown instead of the value?
s
Sandii
11/24/2020, 8:06 PM
Did you try getText instead of getValue
w
William Schamovic
11/24/2020, 8:06 PM
yes
William Schamovic
11/24/2020, 8:06 PM
error is Invalid API usage. You must use getValue to return the value set with setValue.
s
Sandii
11/24/2020, 8:07 PM
Then you need to perform a search to get the text, it is not sourced yet on beforeSubmit.
Open in Slack
Previous
Next