Auto-complete widget - can we validate against the list of suggestions?

  • Profile Image
    Karl Equi 
    Asked on October 09, 2015 at 10:04 AM

    IE: Can we make sure the user is ONLY able to submit an answer which is in the autocomplete list?


    Currently they seem able to ignore the list and submit a different answer.


    I have 300 options - of which I want the user to pick one.

    It's too long for a dropdown list really - but right for autocomplete.

  • Profile Image
    Answered on October 09, 2015 at 11:40 AM

    hi Karl.  Randy here, a fellow JotForm user.

    the workaround i came up with requires a condition that will check if the auto-complete text field's entry is included in the list of names that was hard-coded (comma-separated-values) which will then trigger to either show or hide the submit button (warning message is optional). (fig. 1). you can see the end result of the sample form below. (fig. 2). this is just an idea :)

    btw, the regular drop down button will also work (you can use keyboard strokes to find names) which has the same result when fuzzy search is off (which only checks the first letter of the first-names).

    hope this helps while waiting for the JotForm Support team's reply. 


    (fig. 1)


    (fig. 2)


  • Profile Image
    Karl Equi 
    Answered on October 09, 2015 at 12:09 PM

    Top work-around Randy - Thanks