Form: It is not working correctly when trying to move to next page