In pdf editor i need to calculate exipiration date, i need to add 1 year to the date camp. how can i do?

  • ierigiuse
    Domanda del 28 aprile 2024 alle ore 09:24
    i've another question, in pdf editor i need to calculate exipiration date, i need to add 1 year to the date camp. how can i do?
  • Norwyn Enterprise Support
    Risposta del 28 aprile 2024 alle ore 10:08

    Hi ierigiuse,

    Thanks for reaching out to Jotform Support. Currenlty, calculations can only be done via the form and not on the PDF editor/document. Let me show you how:

    Add two Date picker widgets to the form.

    1. On the Build tab on the Form Builder page, click the Add Form Element button on the left.
    2. Under the Basic tab, look for the Date Picker widget.
    3. Drag and drop it into the form and add another one.

    In pdf editor i need to calculate exipiration date, i need to add 1 year to the date camp Screenshot 50

    Set up a condition to Update/Calculate field.

    1. On the Form Builder page, click the Settings tab on the orange navigation bar at the top.
    2. Go to the Conditions section on the left task pane and click Add New Condition button.
    3. Select Update/Calculate Field from the options.
    4. Set up the formula as required and then click the Save button to apply the changes.

    In pdf editor i need to calculate exipiration date, i need to add 1 year to the date camp Screenshot 61

    The condition you need to set up:

    In pdf editor i need to calculate exipiration date, i need to add 1 year to the date camp Screenshot 72

    Here is the result:

    In pdf editor i need to calculate exipiration date, i need to add 1 year to the date camp Screenshot 83

    This field can then be added via the PDF editor as the expiration date.

    I created a demo form you can clone for reference.

    Give it a try and reach out to us again if you have more questions.

  • ierigiuse
    Risposta del 28 aprile 2024 alle ore 14:59

    In pdf editor i need to calculate exipiration date, i need to add 1 year to the date camp Screenshot 30

    sorry i did it bu it doesn't workIn pdf editor i need to calculate exipiration date, i need to add 1 year to the date camp Screenshot 41

  • Mafe_M Jotform Support
    Risposta del 28 aprile 2024 alle ore 17:12

    Hi ierigiuse,

    Thanks for getting back to us. When I cloned and tested your form, everything worked the way it was supposed to. Take a look at the screenshot below to see my results:

    In pdf editor i need to calculate exipiration date, i need to add 1 year to the date camp Screenshot 30

    I also, tested your actual form by selecting May 1 as the start date, and expiration date is May 1 next year. Take a look at the screenshot below to see my results:

    In pdf editor i need to calculate exipiration date, i need to add 1 year to the date camp Screenshot 41

    I have cleared form caches to refresh your form. Can you go ahead and try it again and let us know how it goes? If the same thing happens again, we'll investigate it more to see if we can figure out what's going on.

    Keep us updated and let us know if you need any more help.