How to calculate number of days for subscription?

  • popschool
    Asked on March 2, 2020 at 7:45 AM

    Hi, I made a form to cancel a monthly subscription. I want it to automatically calculate the end date.

    We have terms that says: It's only possible to end the subscription on the 1st of each new month with a minimum period of 30 days (1 month).

    Is there a way to calculate that?

  • Ashwin JotForm Support
    Replied on March 2, 2020 at 10:37 AM

    I am not sure if I have understood your question correctly. Do you mean to say that you want to calculate a subscription end date where the end date needs to be 30 days from a date plus the number of days in form that 30 days to 1st of next month?

    Example if form is submitted today, the subscription end date will be:

    March 02, 2020 + 30 days + 30 (April)

    Please explain a bit more in detail and we will take a look.

    We will wait for your response.

  • popschool
    Replied on March 2, 2020 at 11:28 AM

    Thnx, not quite, its also difficult to explain it in dutch :) but will give it another try.

    Our members only can quit on the 1st of each new moment with a minimum 'cool down' period of 30 days. 

    Ex.

    When they quit on March 15th they're subscription ends the 1st of may

    When they quit on March 26th they're subscription also ends the 1st of may

    When they quit on March 1th they're subscription ends the 1st of april


    Hope you understand :)

  • Ashwin JotForm Support
    Replied on March 2, 2020 at 12:49 PM

    I have understood your requirement. Its a very complicated calculation requirement to achieve this within form builder. I will try and get back to you if I am able to come up with workaround solution.