Why is my form not working on smartphones?