Can you set the autocomplete widget to only allow certain names in the search result?

  • Profile Image
    CIJE
    Asked on June 19, 2020 at 03:51 PM

    I only want to allow certain names to be entered in the auto-complete. Can you make it so that it only allows certain names and not random? I have over 200 that need to be allowed. 

  • Profile Image
    Welvin
    Answered on June 19, 2020 at 05:12 PM

    How about disabling Fuzzy Search in the Advanced Settings of the widget? Please try that. I believe that would do your requirement.

  • Profile Image
    CIJE
    Answered on June 19, 2020 at 05:31 PM

    That didn't seem to work. What exactly does fuzzy search do? 

    What I need is: I have many registered partners names in the autocomplete and I added one called other. When they type "other" I have a rule that opens up to have them fill out the form as a non-member. I want to limit them to fill out either a partner name or the word Other. I want to limit any other word or names. I don't want them to be bale to type "Frank" and be able to move forward. Can it make an error message when they try that? 

  • Profile Image
    Welvin
    Answered on June 19, 2020 at 06:50 PM

    It guesses possible items based on the string that you have entered in the box regardless if it's relevant or not. When you disable that, the widget will only present a result if it matches the string.

    Unfortunately, the widget has no option to prevent values that are not part of the options. It will accept it as a value and allow users to move forward.

    You may consider using our Dynamic Dropdown widget:

    https://www.jotform.com/widgets/dynamic-dropdowns

    You must use If Contains in your conditional logic.