Is it possible to set the "Number of Payments" using a Form Calculation

  • brischnei
    Asked on January 4, 2021 at 11:53 AM

    Is it possible to set the "Number of Payments" using a Form Calculation, Conditional calculation, or similar method?

  • brischnei
    Replied on January 4, 2021 at 12:09 PM

    There is no indication in the post "How to Setup a Recurring Payment Option" regarding calculations.

    Is it possible?

  • Gaetan_B
    Replied on January 4, 2021 at 1:57 PM

    Hello,

    Thank you for reaching out.


    This is currently not possible, unfortunately, although you can set it up manually on PayPal.


    Could you give us an example of what you would like to do?

    We might be able to provide you with a workaround.


    Should you have any further inquiries, do not hesitate to reply to this thread

  • brischnei
    Replied on January 4, 2021 at 2:33 PM
    My use case is as follows:
    1. Based on the user's selections, a total price is determined in form
    calculation #1.
    2. First payment is determined as 65% if the total price in form
    calculation #2.
    3. The number of payments will be determined by the number of months
    between the current date and a fixed date in the future (e.g., today until
    June 4, 2021 = 5) in form calculation #3.
    4. The monthly payment amount (after the first payment) will be calculated
    as (Calc 1 - Calc 2)/Calc 3
    I'm having trouble with step 3. Any help is appreciated
    Thanks
    ...
  • Basil JotForm Support
    Replied on January 4, 2021 at 6:08 PM

    Hi,

    To calculate the difference between two dates you can use two date picker fields and subtract them in a calculation field.

    1609801605 5ff39f85236d9 explorer fuTYrI Screenshot 10

    Unfortunately, I do not believe it is possible to pass the number of payments to the payments fields from the calculation widget.

    Please let us know if you have any further questions.