Why does my form not work properly on mobile devices.