In PeopleUpdate, it’s possible to use input masks to control what data is input by you and/or your users in specific fields (pertaining to specific attributes) in Active Directory.
he mask may contain literal characters and input-mask-flags such as
- & – any keyboard character (entry is required)
- L – letter (entry is required)
- 0 – digit (entry is required)
- A – letter or digit (entry is required)
- C – any keyboard character (entry is optional)
- ? – letter (entry is optional)
- # – digit or +/- (entry is optional with replacement by EmptyPositionChar or PadChar)
- 9 – digit (entry is optional)
- a – letter or digit (entry is optional)
- > – all letters to the right are converted to the upper case
- < – all letters to the right are converted to the lower case
Notes:
- If in front of any flag-character appears the “\” (escape) character, then that character becomes the literal part of mask. For example, if mask is set to the “A\A\BB\\##\99” and control has no data, then text in edit mode will appear as “_A\BB\#_9_”. Where the “_” are available positions for entry.
- To cancel upper/lower case convertion which was set by the > or < flag, that flag should be used one more time. For example, if mask is set to the “>CC->CC->CC” and user entered the “XxXxXx”, then resulting text should appear as “XX-Xx-XX”.
- While control has no input focus, the optional empty mask positions are not displayed.