I want the date picker to calculate age

  • thecleaningcompany
    Asked on February 18, 2019 at 7:41 PM

    how do a get a date picker that calculates age?

  • jherwin
    Replied on February 18, 2019 at 9:15 PM

    To calculate age using datepicker, you need another datepicker for the current date and form calculation to calculate days and age.

    Guide:

    1.) Add date picker and then set the default date to the current date.
    2.) Add form calculation widget for days and age.
    1550542202age Screenshot 10
    3.) Add this calculation to your days field:
    1550542347days Screenshot 21
    4.) Then add this calculation to your Age field:
    1550542446floor Screenshot 32

    Demo Formhttps://form.jotform.com/90488286695981.

    GuideHow to Perform Form Calculation Using a Widget