Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Autocomplete for OE question

I'm using the code to make an OE question autocomplete for a list which is working fine but it only searches from the first character. Is there a way to alter this code so that it looks all parts of the string? E.g. If I am searching for the word manager and type 'ma' it should return 'Manager' 'General Manager' 'Mid-level management' etc.
asked Jun 23, 2021 by PaulK (420 points)

1 Answer

0 votes
 
Best answer
Delete this part of the script:

'^' + 
answered Jun 23, 2021 by Zachary Platinum Sawtooth Software, Inc. (205,575 points)
selected Jun 23, 2021 by PaulK
Thanks Zachary!
...