Create new calculated field
- Let's add a Cost field which will be a calculated field - which will multiply "effort hours" by $100
- Go to the App to "Add new field" and create field "Cost" being "Number" format and "Formula"
- In the "Calculation" section put such a formula (JavaScript)
() => (entity.c_is_billable ? entity.total_real * 100 : 0);

- Put this "Cost" field into the layout just under the "Is billable" checkbox

- Publish the App and go to the timelog form to see how the result is seen by users:
- If the user marks "is billable" checkbox - it will auto-calculate Cost field