Would you like to invoke the numeric key pad or the calendar for an input field in Smart Mobile Studio ? Just set the InputType for the Edit component.

Would you like to invoke the numeric key pad or the calendar for an input field in Smart Mobile Studio ?  Just set the InputType for the Edit component.

http://smartmobilestudio.com/forums/topic/invoke-numeric-key-pad/
http://smartmobilestudio.com/forums/topic/invoke-numeric-key-pad/

Comments

  1. Nice!  Do you have a email / domain name / ip address input mode as well?

    ReplyDelete
  2. Lars Fosdal These types are available:

    TW3InputType = (itNone,
                      itColor,
                      itDate,
                      itDateTime,
                      itDateTimeLocal,
                      itEmail,
                      itMonth,
                      itNumber,
                      itRange,
                      itSearch,
                      itTel,
                      itTime,
                      itUrl,
                      itWeek,
                      itPassword);


    These are based on the HTML5 InputType attribute: http://www.w3schools.com/html/html5_form_input_types.asp

    There are various support for each of these in various  browsers.  When I tested itColor in SafariMoilbe, It was just like an ordinary edit field.  In Safari Desktop, Number and Date will both(!) give you a spinner, In Firefox, you'll get immediate e-mail verification for the e-mail type.  In Chrome you'll get a spinner for the number and a Calendar dropdown for the DateTime type...

    ReplyDelete

Post a Comment