-
synergee13Asked on July 6, 2016 at 11:47 PM
-
Elton Support Team LeadReplied on July 7, 2016 at 12:47 AM
Hi,
We do not have specific a widget that calculates age but there's a workaround using form calculation.
Demo: https://form.jotform.com/61880675038968
Feel free to clone this form so you can figure out the whole setup. Guide: https://www.jotform.com/help/28-Cloning-a-Form-from-a-Web-Page
Here's how:
1. You need are 2 Date Picker fields and 2 Form Calculation Widgets in your form
2. In the 2 Form Calculation Widgets, you need to define formula on each of them.
The first calculation field (Days) gets the number of days, here's the formula:
In the second calculation field (Age), this will calculate the Age base from the given birth date of the user using the math Floor function.
If you need further assistance, do let us know.