Auto-Complete Field

  • Profile Image
    Asked on April 03, 2011 at 11:11 PM


    Here's a real challenge for you:

    I've got an auto-complete field that's a very long list. 3169 lines long. It doesn't work. It tries to. And I want it to, but it just doesn't.

    Click here to try it out. If you type "Sacra..." It should constrain the list to every entry with "Sacramento" in it. Alas, it fails after the third character.

    Any magic server dust you can sprinkle on it and make it go?



  • Profile Image
    Answered on April 04, 2011 at 02:20 AM

    Hi m4cl4rk,

    Thank you for your inquiry. I checked the autocomplete field in your form and it seems that not all schools from A to Z are included in your list. The schools that I can see are those from A.T. Still University of Health Sciences (AZ/MO) to American Military University (WV). There are no schools in the list with the word Sacramento in their name, hence the autocomplete doesn't display anything.

    Kindly enter the schools again in the list and ensure that all 3169 items are included. Please let us know if you have any other concerns, we're ready to assist you.

    Thank you for using JotForm!



  • Profile Image
    Answered on April 04, 2011 at 02:43 AM

    Thanks for the quick reply.

    All of the values are there when I save it. All the Way to Zane. That's another thing about the size of that recordset: it sometimes doesn't save all of the values. At first, the form builder wouldn't save the entire set, but then it's there.

    Seems to behave somewhat better in browsers other than Chrome. The Form Builder stalls and moderately complex forms get weird in Chrome. I'll use Safari or Firefox for dev & testing.

    Thanks again,

    - M

  • Profile Image
    Answered on April 04, 2011 at 03:04 AM

    New info: the forms builder lets me save the field and test it once.

    After that, the form fails and the field is back only to a few of the values that were once in there.

    I'll stick to using the dropdown for now. It seems to keep all of the values and load consistently without crashing.

    Great product, by the way.

    Thanks for all you do.

  • Profile Image
    Answered on April 04, 2011 at 03:48 AM

    Thanks for bringing this to our attention, m4cl4rk. Since auto-complete it created with JavaScript, it will not work well for thousands of entries. It might use too much memory and lock up browsers. So, it is not really recommended. We apologize for any inconvenience.

    In the meantime, you're right. You can use the Dropdown menu asa good alternative for proven stablility and more predictable results.

    Thank you also for the compliments on JotForm. We're glad you enjoy using it. If you have any other concerns, please let us know. We're here to assist you.