Can you save a variable that stores a long list of text for autocomplete modules that will be reused?

  • Profile Image
    penguinshin
    Asked on April 11, 2017 at 05:27 PM

    Say I have a long list (1000+ items) that I want to use for an autocomplete module, and I want to use that autocomplete module over and over again. At the moment, I have to use the same long list of items for each instance of the autocomplete module. What I do is edit the javascript code to instead have all references to that list be a variable that contains the list once. Is this something that can be done in jotform directly?

  • Profile Image
    EltonCris
    Answered on April 11, 2017 at 09:36 PM

    We have autocomplete widget where you can paste all your options.

    https://widgets.jotform.com/widget/autocomp

    Unfortunately, you will have to manually paste the list again if you want to use it in another form.

    Alternatively, you can also clone your form so all fields including the autocomplete and its options are automatically created on the cloned form.

    If you have more questions, let us know.