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 do I get an autocomplete to populate a second field?

    Asked by ChessGuru on August 21, 2015 at 03:23 AM

    I am creating a form where a user can select from a long list of classes (50+), hence using auto-complete.  I want the user to be able to select the class from the autocomplete and then see the cost of that class (each class is a different price).

    What is the easiest way to achieve this? 

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Welvin on August 21, 2015 at 06:39 AM

    If you want a simple method to calculate the values, you can use our dropdown field. In the dropdown field, you can add calculation values:

    Then simply add our calculation widget: https://www.jotform.com/help/259-How-to-perform-calculation-in-the-form.


    But if you really want to use the auto complete widget, the only way you can update the value in the next field would be to add a mathematical condition. This also means that you need to add 50+ conditional logic and that's quite a lot.

    Here's our guide for condition:


    Here's an example conditional logic that you have to add: