Changes in all input fields function