Prevent android word prediction in html form

I made a registration form in the jqModal field. Everything works well, but if I open this form in android android browser (4.0.3 samsung galaxy tab2) and when I try to login in browser login window, word prediction keyboard opens. The effect is that I can only put in the first letter and space from the predicted word.
My question is how to disable the world forecast keyboard and use the default browser keyboard.

...
<a href="#" class="gotologin" title="login">Login</a>
...
<div class="jqmWindowLogin jqmID2" id="login_modal" style="display: none;">
    <div class="jqmContent">
        <div id="log_reg">
            <form action="<some action here>" method="post" id="login_form">
                <label for="login">login/email:</label>
                <input type="text" name="input_field_login" id="login" class="text" />
                <label for="pswd">password:</label>
                <input type="password" name="input_field_pass" id="pswd" class="text"/>
                <input type="submit" value="go" id="Image1"/>
            </form>
        </div>
    </div>
</div>
...

$('#login_modal').jqmShow();
$.fn.jqmShow=function(t){return this.each(function(){t=t||window.event;$.jqm.open(this._jqm,t);});};
//jqModal version 1.4

      

I find out that when changing jqmOverlay position from fixed to absolute on a simple site (wchich only contains a link and a modal input field), the input methods work fine, but still appear incorrectly on the cms page.

+3


source to share


1 answer


Have you tried the attribute autocomplete=false

on the input?



<input type="text" name="input_field_login" id="login" class="text" autocomplete="false" />

      

+1


source







All Articles