How can I make a reusable autocomplete form?

  • penguinshin
    Asked on April 4, 2017 at 11:13 AM

    Say I'd like to know all of the names of the basketball players that a person has ever talked to. This list is thousands of players long. So, I'd like to include an autocomplete helper of some sort, but also want to allow for the possibility of a user naming multiple players. Is this something that can be done in jotform? So far, I've only found an autocomplete widget that must be tied to a form, and cannot be made dynamically.

     

  • Sven
    Replied on April 4, 2017 at 12:56 PM

    I'm not sure what you mean by "must be tied to form, and connot be made dynamically", you can use conditional logic to make your form elements dynamic. Also, we have a list of widgets that would allow for multiple selection.

    For more information, please have a look at our Pickers widgets list:

    https://widgets.jotform.com/category/pickers

     

    Thank you.

     

  • penguinshin
    Replied on April 4, 2017 at 2:06 PM

    Thanks! Is there a way to duplicate conditional logic while making small changes to the referenced cells? for example, lets say i have a show/hide logic for cells 2 and 3, and i want to make it for 3 and 4? (and do this 50 times quickly?)

  • Ashwin JotForm Support
    Replied on April 4, 2017 at 4:23 PM

    Hello penguinshin,

    Please note that though it is possible to clone the conditions but you will have to manually edit the conditions and set the action/target. Please check the screenshot below:

    How can I make a reusable autocomplete form? Image 1 Screenshot 20

     

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • penguinshin
    Replied on April 4, 2017 at 4:55 PM

    Thanks. I think the faster way is to download the source and programmatically add the functionality within the jotform template. Am I subject to any constraints for usage of the source if I'm hosting on my own? Say for different pricing schemes?

  • Kevin Support Team Lead
    Replied on April 4, 2017 at 10:31 PM

    No, there's not an additional price to get the source code, you should only take into account that you will need to refresh the source code on your webpage each time you make any change to the form in the form builder. 

    Here's a guide that will help you to get the source code of your form: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form 

    If you have any question, please let us know.