Calculate age and pass value to payment gateway

  • Profile Image
    josuaeugster
    Asked on April 07, 2016 at 10:57 AM

    Hello

    I have a request form for a youth camp. One field is the birth date. Is it possible that a message/text showing up how much the person has to pay for the camp depends on the year from the birth date?

    greetings

    Josua

  • Profile Image
    victor
    Answered on April 07, 2016 at 12:32 PM

    If I understand you correctly, you would like to calculate the age of the user and depending on the age, you would like him to pay a certain amount. Please let us know if I am mistaken.

    I have adjusted your form so it will calculate the age when entering the date of birth.

    https://form.jotform.com/60974827654974?

    You may clone it if you like.

    You can view our users guide on how to pass a calculation value into a payment gateway:

    How to pass a calculation to a payment field

    Please let us know if you require additional assistance.