Using large list of options for autocomplete boxes in source code - how to set several views to same values?

  • Profile Image
    dalepotter_upreach
    Asked on January 30, 2014 at 06:20 AM

    Hello,

    I have a form with 4 autocomplete fields, each of whcih requires an identical set of 6,000 options - yes that's a lot!

    As jotform seems to struggle with that many options (even for one field), we have downloaded the source code for our form and are hosting it on our website.  I have added in the full list of 6,000 options in the javascript code near the top of the page.

    How could I set multiple fields to have the same options list, and thus only output the options once to the page.  Doing so will dramatically reduce page load time and bandwidth.

    The variables in the JS seem to be 

    JotForm.autoCompletes['input_270']

    JotForm.autoCompletes['input_271']

    JotForm.autoCompletes['input_272']

    JotForm.autoCompletes['input_273']

    Many thanks in advance for any help that you can give...

  • Profile Image
    TitusN
    Answered on January 30, 2014 at 10:12 AM

    Thank you for contacting us.

    Your website appears to have a password field, I wanted to take a look and advice with more precision.

    I will loop in the rest of the support team and respond as soon as possible.

  • Profile Image
    dalepotter_upreach
    Answered on January 30, 2014 at 10:18 AM

    Thanks TitusN...  I've turned the password functionality off now...

  • Profile Image
    TitusN
    Answered on January 30, 2014 at 10:25 AM

    Thank you.

    Please allow some time to deliberate, we shall update this thread as soon as possible.