Numeric Input Mask - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Numeric Input Mask

Last post 05-15-2012 07:58 AM by workin'stiff. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-14-2012 02:57 PM

    Numeric Input Mask

    Hi everyone,

    I've searched the site several time with different wording to see if the topic has been covered. So, please accept my apology if I've missed it.

    I am trying to figure out if it is possible to create an input mask for numeric characters to be completed in a pre-defined format. For instance, if I need to capture the value 99.1, would it be possible to create something that has the input field (e.g. read text box) containing XX.X as a default value / input mask. When the user types in the box, the "x"s are replaced with the applicable numbers that the user has entered. The decimal place is retained in the proper location without the need to actually type it.

    And I need to try to accomplish this without the use of custom code and be browser friendly.

    Possible??

    Thanks!

  • 05-15-2012 12:54 AM In reply to

    Perhaps your best bet is to use 3 text boxes that default to X, with a dot between the second and third ones.  In the text box properties, there is an option where you can limit each text box to 1 character and have it move the focus to the next control when the user enters a value.

    Then you can have another field with a default value formula of:  tensDigit * 10 + onesDigit + tenthsDigit * 0.1

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 05-15-2012 07:58 AM In reply to

    Thats a good idea. Thanks!

    It would be nice if an all-in-one solution for textboxes was incorporated to support this type of feature, though.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.