iPhone from 'submit' button does not function