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 predefine a field and use it for calculation

    Asked by Jdury1976 on December 14, 2016 at 06:39 AM

    Hi,

     

    I woul like to use a field with a predefined numer witch is selected from the selection box in order to make a calculation and use the predefined number in that calculation.

     

    Example:

    Kinderfeest selection is chosen for 5

    That number 5 is shown in another field so I can use it for a calculation.

     

    How can I do this?

     

    Greetings 

     

    Jean

     

    Page URL:
    https://form.jotformeu.com/63481881513358

  • Profile Image
    JotForm Support

    Answered by owen on December 14, 2016 at 06:59 AM

    Hi Jean,

    I can see that you have already specified some calculation values in the dropdown field called "Kinderfeestje". But I guess you only want the number chosen to be copied into another field instead of the calculation values. In any case, I have created a test form for you which meets both of the conditions.

    First please see the form here: https://form.jotform.com/63461342097961. Feel free to clone this sample form of mine.

    For the first dropdown, when you select a number from it, its corresponding calculation value is copied into the first number field. 

    For the second dropdown though, I did not specify calculation values and only the number that is chosen through the dropdown is copied into the second number field. 

    Please see my conditions which applies this configuration:

    As you can see the conditions are pretty much the same. The only difference is the existence of calculation values in dropdown fields. 

    In order to use these fields for further calculations, please use "Form Calculation" widget. For instance, on the sample form that I addressed above, I multiplied the number fields like this:

    Here is a sample result:

    I hope this helps.

    Please contact us again if you need any further assistance.