# Automating calculations in Payslips

**URL:** <https://forum.manager.io/t/automating-calculations-in-payslips/10346>\
**Category:** ideas\
**Created:** [July 2, 2017, 3:23pm UTC](https://forum.manager.io/t/automating-calculations-in-payslips/10346 "2017-07-02T15:23:47Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Patch](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@Patch](https://forum.manager.io/u/Patch)\
**Post date:** [July 10, 2019, 7:38am UTC](https://forum.manager.io/t/automating-calculations-in-payslips/10346/12 "2019-07-10T07:38:31Z")

</div>

Supporting formulas in form defaults would be a flexible way of implementing this.

- That way a user could copy a formula into the “Form defaults” and instead of it being set to a static value, the value is dynamically calculated.
- A “Calculate now” button may need to be added to the bottom of the screen to trigger calculation and prevent circular references locking the program up.
- I could live with the existing GUID references. They could be upgraded to what ever replaces them in the rest of the program when that happens
- Formula could be part of localization imports or manually entered.

Done this way I suspect users could use it to automate many other Manager entries such as [Cost Price Sale Price Markup Field Idea](https://forum.manager.io/t/cost-price-sale-price-markup-field-idea/9187)

---

_[View the full topic](https://forum.manager.io/t/automating-calculations-in-payslips/10346)._
