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.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.