Form Calculation for dates

  • Profile Image
    asimsidiqi
    Asked on February 16, 2021 at 02:29 AM

    is it possible in jotform to calculate warranty left by dates?

    Can I calculate warranty left of the product by current date and expire date? if yes then how ?

    Please find below screenshot and my form link.

    1613460551_602b74474422c_

  • Profile Image
    cansinjf
    Answered on February 16, 2021 at 04:18 AM

    Hello,

    Jotform Form Calculation widget allows users to do calculations using existing fields and insert the result to a new field. Please follow these steps to create the field you desire:

    1. Add a Form Calculation widget to your form under the Widgets tab of Form Elements.1613466262_602b8a9640148_form_calc.png
    2. You can Add Fields to use in this calculation field, by clicking on the add field button on the widget's settings.1613466381_602b8b0d8f43e_add_field.png
    3. In order to create the following formula, simply add fields you want to use from the list and use operations between them. In this case, it should be "Warrant Expire" - "Current Date". Once you create the formula, click on the Save button, and the calculation field will be ready.1613466485_602b8b759c5ab_formula.png

    Now, once a user inserts these two fields on your form, "Warrant Expire" and "Current Date", the Form Calculation field will be filled automatically as the number of days between these two dates.

    For more information about the Jotform Form Calculation widget, please visit this page.

    Please contact us if you require any further assistance.