locked
Setting keyboard scope for a password field

    Question

  • Hi.  I already know how to make the numeric onscreen keyboard pop up by setting the input's type parameter to "number" ex.

        <input type="number></input>

    How do I get the numeric keyboard when the type parameter is set to something else?  ex.

        <input type="password">

    What I want is to have the keystrokes obscured by dots onscreen as they are when the type is "password" but still bring up the numeric keyboard when the input field receives touch focus.  There is only one type parameter so I can't assign both types at the same time but this is the effect I wish to achieve.

    Thank you for your answers.


    Mike Kabala

    Wednesday, February 27, 2013 8:13 PM

Answers

  • Hi Mike,

    You can set only a single input type on a field. You cannot mix type="password" and type="number".

    --Rob

    • Marked as answer by Song Tian Tuesday, March 05, 2013 7:19 AM
    Thursday, February 28, 2013 12:44 AM
    Owner