webtextfield.type not working

  1. 5 weeks ago

    If I do

    tf_phone.Type = WebTextField.TypeTelephone

    What should I expect when entering a phone number into the field? For me nothing is different than if I had not assigned a type. Same for TypeEmail.

    Thanks,

    John

    In general, the type field only affects mobile platforms (it changes the keyboard for easier data entry).
    Type: Number will add a stepper control in some browsers.

    The input type behaviors are browser specific.

  2. Tim P

    Jan 16 Pre-Release Testers Answer feedback://46303

    In general, the type field only affects mobile platforms (it changes the keyboard for easier data entry).
    Type: Number will add a stepper control in some browsers.

    The input type behaviors are browser specific.

  3. Paul L

    Jan 16 Xojo Inc http://docs.xojo.com
    Edited 5 weeks ago

    And what Tim said is noted on the doc page for WebTextField.Type .

    The Type property implements concepts from HTML5. Browsers that fully support these new concepts support the Type property fully. Mobile Safari supports these concepts fully. Safari and Google Chrome only treat the Number type uniquely and all other browsers treat them all the same.

  4. @Paul L I noted that blurb before I posted my question. The last sentence left me puzzled. What does "treat the Number type uniquely" and "all other browsers treat them all the same" mean?

    I have used the password type successfully in all desktop browsers, but none of the others.

    Thanks. My question is answered.

    John

or Sign Up to reply!