# Auto calculate using implementer's interface

**URL:** <https://talk.openmrs.org/t/auto-calculate-using-implementers-interface/15783>\
**Category:** Bahmni\
**Created:** [February 7, 2018, 7:38pm UTC](https://talk.openmrs.org/t/auto-calculate-using-implementers-interface/15783 "2018-02-07T19:38:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramashish](https://talk.openmrs.org/letter_avatar/ramashish/32/6_449c533f586939b6e5f246632a46421f.png) [@ramashish](https://talk.openmrs.org/u/ramashish)\
**Post date:** [February 7, 2018, 7:38pm UTC](https://talk.openmrs.org/t/auto-calculate-using-implementers-interface/15783/1 "2018-02-07T19:38:26Z")

</div>

Calculating a field on the observation form based on another field can be achieved by using “On Change of Values (Control Event)” as explained [here](https://bahmni.atlassian.net/wiki/spaces/BAH/pages/237437004/Form+Conditions+Form+Events)

eg. Calculating EDD based on LMP as shown [here](https://www.youtube.com/watch?v=aUqHqvTYnek)
