# Populating Age in Database

**URL:** <https://forum.adalo.com/t/populating-age-in-database/9237>\
**Category:** Get Help\
**Created:** [February 15, 2021, 5:13pm UTC](https://forum.adalo.com/t/populating-age-in-database/9237 "2021-02-15T17:13:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Drivenworks](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@Drivenworks](https://forum.adalo.com/u/Drivenworks)\
**Post date:** [February 15, 2021, 5:13pm UTC](https://forum.adalo.com/t/populating-age-in-database/9237/1 "2021-02-15T17:13:35Z")

</div>

How do you populate Age property in Database after user fills out form and fills out Birth Date (Date Type Property)?

---

<div class="post-metadata">

**Author:** ![theadaloguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/theadaloguy/32/8023_2.png) [@theadaloguy](https://forum.adalo.com/u/theadaloguy)\
**Post date:** [February 16, 2021, 4:33am UTC](https://forum.adalo.com/t/populating-age-in-database/9237/2 "2021-02-16T04:33:25Z")

</div>

Custom formula.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/c/c58db03355067af8f3b04e1bc413af55005893c4.jpeg)

---

<div class="post-metadata">

**Author:** ![theadaloguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/theadaloguy/32/8023_2.png) [@theadaloguy](https://forum.adalo.com/u/theadaloguy)\
**Post date:** [February 16, 2021, 4:37am UTC](https://forum.adalo.com/t/populating-age-in-database/9237/3 "2021-02-16T04:37:55Z")

</div>

Wrap it inside the INT function to round it down to whole number.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/3/361d87cc73108d0d49525897390bfa0a2d2f9317.jpeg)

---

<div class="post-metadata">

**Author:** ![Drivenworks](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@Drivenworks](https://forum.adalo.com/u/Drivenworks)\
**Post date:** [February 16, 2021, 2:54pm UTC](https://forum.adalo.com/t/populating-age-in-database/9237/4 "2021-02-16T14:54:10Z")

</div>

Hi Thank you for the screen shots. Still not clear of how to get my Age Property to update when the user puts in the birthdate. Where do you enter this step? Where am I putting this screenshot, in the form?

---

<div class="post-metadata">

**Author:** ![theadaloguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/theadaloguy/32/8023_2.png) [@theadaloguy](https://forum.adalo.com/u/theadaloguy)\
**Post date:** [February 17, 2021, 7:00am UTC](https://forum.adalo.com/t/populating-age-in-database/9237/5 "2021-02-17T07:00:12Z")

</div>

Ok so imagine you have a form where he inputs Date of Birth. Have the submit button have several actions:

1. Update user (this is there automatically from the form)
2. Update user - Age \> (custom formula as above)
3. Link → wherever

---

<div class="post-metadata">

**Author:** ![Drivenworks](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@Drivenworks](https://forum.adalo.com/u/Drivenworks)\
**Post date:** [February 20, 2021, 4:36pm UTC](https://forum.adalo.com/t/populating-age-in-database/9237/6 "2021-02-20T16:36:33Z")

</div>

Not updating the Age property yet:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/5/535dc580ace2e93d063fe060ec02f5cf37973d04.png)

Screen Shot #2

![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/2/2e2f1a9195675a3c4ad541c50e841c601ae372e7.png)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [March 2, 2021, 4:36pm UTC](https://forum.adalo.com/t/populating-age-in-database/9237/7 "2021-03-02T16:36:49Z")

</div>

Closed on March 2, 2021, 4:36pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
