You can use a regex() to check the entered string matches the required format. Try something this:
constraint="regex(.,'^[0-9]{3}-[0-9]{2}C[0-9]{5}$')"
This a related thread about regex’s.
You can use a regex() to check the entered string matches the required format. Try something this:
constraint="regex(.,'^[0-9]{3}-[0-9]{2}C[0-9]{5}$')"
This a related thread about regex’s.