Ghost calculation present on form, resetting value of a required field and preventing form submission