Field Maps Form use input text to search a Table

09-30-2023 09:21 PM
Labels (1)
New Contributor II

Hello all, I am new to using Arcade. I have a table of values where one column is "item" and the second column is "price". I would like to use the input text to search the item column letter by letter to eliminate items on the list/avoid spelling errors. I would then like to fill another field with the price based on the item column. What I have so far is:

var disp_text = $feature["Type name"];

if (find("", disp_text, 0)>-1) {

return "item";

else {

return "Input not found!";


Thank you in advance for any help you can provide. My understanding is Arcade is based off of JavaScript so I am trying to get my employer to provide JavaScript training. 

0 Kudos
0 Replies