Hi,
Is there any way to have optional characters in a Input mask Control?
Currently, I have ">AAAAAAAA" as mask, but the requirement is to have 7 or 8 characters...
I thought about ">AAAAAAAa" but that means the user has to enter an additional character (space) when it has only 7 characters...
Thanks,
Koen
Solved! Go to Solution.
AFAIK, no, there is no regex "?" equivalent in the field mask capability. The only "optional" characters are "character or space" not "character or null".
To accomplish this, you can write client script to watch the field, or you could make a PCF for it. In either case, the coding would not be very complex; just a single regex validation.
AFAIK, no, there is no regex "?" equivalent in the field mask capability. The only "optional" characters are "character or space" not "character or null".
To accomplish this, you can write client script to watch the field, or you could make a PCF for it. In either case, the coding would not be very complex; just a single regex validation.