Adding text to textarea based on calculated variable

I have a DateInput and a Textarea along with a query that calculates a person's age from the DateInput. How can I get that age variable to populate the Textarea?

Can you share a screenshot and some of the code you are using...?

Thanks Scott... I got it covered with this:

UPDATE demographics
SET age = DATE_PART('year', AGE(CURRENT_DATE,{{date2.value}}))
WHERE
"id" = {{form_textArea2.value}};

1 Like