Home » Tutorials » Mobile Web Development » iOS Mobile Web: Disable Spell-Checking On HTML Input Field

iOS Mobile Web: Disable Spell-Checking On HTML Input Field

iOS Mobile Web: Disable Spell-Checking On HTML Input Field

Text auto correction for iOS devices such as iPhone and iPad is great for fast typing, but sometimes it can be annoying too, because it often changes word in your message. If you have a Form input field or Text Area, and you would like to turn off the auto correction function for your form, then this is what you should added to the input field and Text Area:

<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" />
<textarea autocomplete="off" autocorrect="off" autocapitalize="off"></textarea>

Adding Autocomplete, Autocorrect and Autocapitalize attributes on a given input field or textarea to prevent the given corrective features.

Find it useful? Share to you colleagues and communities!


Android, iOS Development Tutorials