Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Help!!!, my autocorrect input field is not working

by BlackBerry Development Advisor on ‎05-18-2012 03:42 PM - edited on ‎05-18-2012 03:42 PM by BlackBerry Development Advisor (2,908 Views)

 

 

Help!!!, my autocorrect input field is not working

 

To all the web developers out there using autocorrect with input fields, here is a tip that may save you time when developing in HTML for the BlackBerry® PlayBook™ Browser (Also, BlackBerry 10 Dev Alpha devices). 

 

If you have an HTML input field like this:

 

<input type="text" id="txtUserName" autocorrect="true"/>

 

 

If there is the keyword 'user' included in the ID value, it will change the autocorrect behavior from true to false. This is by design to avoid predictions on common login sites.  The same applies to the keywords, email, url, login.

 

The workaround is simple. The workaround is renaming the ID, like this:

 

<input type="text" id="txtUsrName" autocorrect="true"/>

 

 

 

 

 

 

 

 

 

Contributors