When I input data in form fields, form starts to hang.