Form is not responding correctly in iPhone