Form Calculation for dates

  • asimsidiqi
    Asked on February 16, 2021 at 2: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  Screenshot 10

  • cansinjf
    Replied on February 16, 2021 at 4: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 Screenshot 10
    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 Screenshot 21
    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 Screenshot 32

    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.