Password masking. - InfoPath Dev
in

InfoPath Dev

Password masking.

Last post 10-01-2005 12:51 AM by Patrick Halstead. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-30-2005 05:58 AM

    Password masking.

    Hi,
    I am trying to password validation .But my text box which i am using for accepting password is not having any mask option.
    I mean if user enters "Sreedhar" in password field it is appearing as it is.I want to mask it as *** .So that it will have some security.
  • 09-30-2005 11:23 AM In reply to

    I had to do this recently. The easiest fastest way to do it is to set the text color of the password field to the same exact color as the background of the box your typing it into, such as white. This way as the password is being typed you can't see it. This is how Unix systems and the like do it. No stars, no characters, no nothing.

    Otherwise, I don't know how you'd do it, especially with only scripting languages avaliable. If you could interact with your GUI more in-depth, say you had made the whole thing from scratch in Java or C++, you could read each keystroke in, clear the field, and echo back out the right amount of *s.

    ---------------
    Matt Faus
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 10-01-2005 12:51 AM In reply to

    Why not do this in the taskpane using typical HTML password controls?

    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.