Announcement

Collapse
No announcement yet.

Exclude certain characters from password field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exclude certain characters from password field

    Hello,

    Is there a way to exclude certain characters from password field, like the single quote (') or double quote ("), or others that can be chosen?
    Also, can we notify the user of these characters while he enters the password in the field?

    Thank you,
    Cosmin

  • #2
    You can verify each character typed when it is being entered and react as needed if something is being used which the program cannot handle. On each keystroke, the MSGID_ONCHANGED event is fired, and you can handle it in the On Ctrl Message tab of the screen where the Edit (Password) field is hosted.

    Here is an example:

    Click image for larger version

Name:	SCRN-2021-06-29-01.png
Views:	81
Size:	31.9 KB
ID:	307292

    Here is how it works:

    Click image for larger version

Name:	SCRN-2021-06-29-02.png
Views:	35
Size:	24.6 KB
ID:	307293

    I attached the sample project, in case you need it.

    Ulrich

    Comment

    Working...
    X