Passing Multiple String Parameters

Discussion created by BritishSteel on Dec 2, 2013
Latest reply on Dec 4, 2013 by doug.sands
Hi everyone,

I wrote a script that  behaves differently based upon the keywords a user enters.

As of now it is still hardcoded; for example:

would search all results that contain the word ???hello???, and this:

searchOrder.setKeywords(['hello', 'forum'])

would search all results that contain the word ???hello??? and ???forum???.

Now, I would like to convert this script to a tool. But I am unsure how to obtain that list of keywords from users. I was thinking that I should be able to let the user type in a word, then click an Add button (the black cross, as seen in many tools), but I am unsure how to do that. When I set string to multivalue the resulting interface remains un-clickable:


Please let me know if you have any suggestions or think of a different approach.

Thank you.