1 Reply Latest reply on Sep 30, 2013 1:43 AM by try67

    How do you check a text field list to see if a value is already present before adding to the list?


      I have a text field that is really a list (values delimited by a comma). The list is added/concatenated with values selected in a combo box. I do not however, want to add a value to the text field list if it has already been added though. How do I accomplish this using javascript in acrobat? I have a feeling that I need to use the split() method to separate the items in the list first and then somehow parse the array of values? Any help is appreciated. Thanks in advance!