Many of our purchases are priced according to the individual's age. I would like to calculate, based on the birthdate (which we have as a custom field) , whether the individual is an Adult, a youth or a child and retain that information in a hidden format for quick reference. However, when I went to set the custom field I cannot use the 'Depend on' field as it only works with list, checkbox and radio. Is there a way to call on code (js or php) to calculate this new custom field?