-
Gestión Documental ROHIAsked on July 5, 2025 at 12:09 PM
hola buen dia
porfa me colaboran es que necesito que con la fecha de nacimiento me calcule la edad de la persona
-
Christian Ice JotForm SupportReplied on July 5, 2025 at 1:42 PM
Hi Gestión,
Thanks for reaching out to Jotform Support. Our Spanish Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Spanish, let us know and we can have them do that. But, it might take a while until they're available again.
Now, coming back to your question, you can use the Date Picker and a Number element and create a condition to calculate a person's age based on their date of birth. Let me show you how:
- In Form Builder, click on Add Element + on the left side of the page.
- Under the Basic tab, find and add 2 Date Picker and 1 Number elements into your form.
- Click on the Gear icon right next to the second Date Picker element to open its Properties.
- Go to Options tab and set the Default Date to Current.
- Then, click on Settings in the orange navigation bar at the top of the page.
- Select Conditions in the menu on the left side of the page and choose Update/Calculate Field.
- Set up the conditions like shown below and click on Save.
Here's my result:
You can clone my demo form if you want to test it. We also have a guide on How to Insert Text or Calculation Into a Field Conditionally that you can check out.
Give it a try and let us know how it goes.
Your Reply
Something Went Wrong
An error occurred while generating the AI response. Please try again!