How to calculate age through conditional fields?

  • Profile Image
    justfornow
    Asked on May 08, 2016 at 07:22 PM

    We are planning to buy the Bronze service; however one of the fields in our form is not working correctly. We have a field for the date and another for the applicant's date of birth. In the following field called, "Verify your date of birth. Is this your age?" we use the conditional fields feature to calculate the applicant's age by subtracting their date of birth from the current date. However, this feature does not seem to be working - when testing the form it asked me if I was 6741. 

    How can I fix this problem?

    Thank you.

  • Profile Image
    BDAVID
    Answered on May 08, 2016 at 08:08 PM

    You need to divide by 365:

    To avoid showing the decimals, set them to zero:

    Here is my cloned version: https://form.jotform.co/61287147166864

    Let us know if you need more help.