What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to dynamically add options in auto complete field?

    Asked by DHH on April 07, 2017 at 12:15 PM

    Hi,

    I wonder if you could please help me

    My form is   https://eu.jotform.com/build/70924166537360

    I am trying to add a + symbol to add a duplicate field (also to have a delete x button) below my existing field called Name of Part which is made by using the Auto Complete widget, so customers can order more than one part.


    I know I can add the + and x via the configurable widget but how can I apply it to my Auto Complete widget. I need to use the Auto Complete widget as there are going to be hundreds of parts to choose from.

     

    Thanks,

    Dale

     

  • Profile Image
    JotForm Support

    Answered by ashwin_d on April 07, 2017 at 01:44 PM

    Hello Dale,

    I am not sure if I have understood your question correctly. Do you mean to say that you want to dynamically add the options in your auto complete field?

    You can add "Configurable List' widget in your form which will allow users to add / remove text but it is currently not possible to dynamically add configurable list data or from any other source to your auto complete field. 

    Thank you!

  • Profile Image

    Answered by DHH on April 07, 2017 at 02:44 PM
    Ok I understand.
    Can I then add a field before the Name of Part field called number of parts required that will give that number of Name of Part fields ? Will changing that number down remove the right amount or do I also need have an x to remove ones not required ?
    Then is there a way to add an up/down number box for them to say how many of those they need ?
    Thanks,
    Dale
    ...
  • Profile Image
    JotForm Support

    Answered by Sven on April 07, 2017 at 04:01 PM

    Using the configurable list widget, you can add dropdown lists and most other form elements without any issues. You can also add a dropdown element from our form element, and call it "Quantity" for example, and assign values to each option to pass as a number.

     

    Thank you.