Form code:
You can copy paste this code on your form builder page under the [CODE] tab
[ { "tag": "date", "group": "form_elements", "data": { "name": "birthdate", "email": "Date", "placeholder": "Select a birth date", "range": "-100:-5", "value": "01-08-1992", "return_age": "true", "icon": "calendar", "conditional_items": [ { "field": "birthdate", "logic": "", "value": "", "and_method": "", "field_and": "birthdate", "logic_and": "", "value_and": "" } ] } }, { "tag": "calculator", "group": "form_elements", "data": { "name": "subtotal", "math": "{birthdate}", "amount_label": "Age:Â ", "decimals": "0", "thousand_separator": ",", "email": "Subtotal:", "icon": "calculator", "conditional_items": [ { "field": "birthdate", "logic": "", "value": "", "and_method": "", "field_and": "birthdate", "logic_and": "", "value_and": "" } ] } } ]