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

    Mathematical Conditions: Updating a Form Field Value

    Asked by chrisgal on October 25, 2014 at 10:05 PM

    Can i use "And" contition somehow?

    I have 2 drop down fields and 1 calculation field. For example: if user choose "option 1" form the 1st field and "option 2" on the 2nd field then in calculation field a price appears. There is 10 options in 1st field and 10 options in 2nd field. Diferrent prices for diferrent options. How can i do this?



    This is a re-post of a comment on How to Insert Text or Mathematical Calculation into a Field Using Conditional Logic

    prices update form field form field conditions mathematical
  • Profile Image
    JotForm Support

    Answered by Jan on October 25, 2014 at 11:18 PM

    Hi Chris,

    Please try to check the sample form that I created (http://support.jotform.com/form/42978416302457)

    I created 3 fields namely: red shirt, blue shirt and prices text box. The red shirt and blue shirt is a dropdown containing prices like: Small - $20.00 / Medium - $21.00 / Large - $22.00

    I created a Conditions by choosing "Update a form field value".

    I created 2 Rules wherein if Red Shirt is filled AND IF Blue Shirt is filled then it should be added and the output will be shown in Prices text box field.

    This is the conditional statement the form will follow.

    Hope this helps. Let us know if you have further questions.