Hey,
I need some help. I’m trying to create a function in the javascript toolbox to extract the position of a text element in a text list.
/ That is, if I have these inputs (see image):
- a text array = [red, blue, green]
(actually it’s a “do a search for…”) - a text element = blue
(actually a “dropdown value input”).
/ The result of that function should return a 2.
I tried with ChatGPT but I coulnd’t solve it. It returned a 0. Thanks in advanced!
PS: Image 2 is the javascript toolbox setup.