Why my form is crashing in mobile devices?