Form refreshes automatically and the input data of foem fields are cleared.