Andrew Leach is right in saying "is emptied"is emptied is better than "empties"empties here.
However, for your particular example, I'dI’d suggest:
"During the operation field a is cleared."
During the operation field a is cleared.
When relating to GUIs, it'sit’s a much more common way of expressing that the content has been removed from an input field.