Formatting - InfoPath Dev
in

InfoPath Dev

Formatting

Last post 12-28-2005 06:07 PM by Patrick Halstead. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-22-2005 06:10 PM

    Formatting

    Is there any way to create a "mask" or format a textbox for phone numbers or Zip codes? I not looking for validation but a mask that will add (),-, ect as a user types in info.
  • 12-23-2005 07:14 PM In reply to

    You could put code inside the OnAfterChange event of the textbox to accomplish this, but doing it "as the user types" would be quite difficult.

    Let us know if you need any code examples to do the formatting within the OnAfterChange event.

    If you really want to do it as the user types it will involve some pretty cool trickery, maybe I'll try something out if I get bored. Anyways, I ramble - good luck!

    ---------------
    Matt Faus
    InfoPath Dev Texas
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 12-28-2005 06:07 PM In reply to

    In addition, you could layout multiple fields in your view with static dashes in between.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.