Value kept adding/subtracting when form is saved even when the input isn't changed
Summary:
Hey All, in our WF module, I have built a form that lets the users adjust the headcount of employees to consider those employees transferring to another department. The script that I built works, but the problem is it keeps subtracting/adding if the user saved the form even if the adjusted headcount didn't change. Is there a function or setting that will prevent this from happening? Please see script on the code snippet
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
0