What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Calculate age and pass value to payment gateway

    Asked by josuaeugster on April 07, 2016 at 10:57 AM


    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?



  • Profile Image

    Answered by victor 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.


    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.