I want to make a masked text with this format xxxx/##/##
the xxxx is a number stored in a variable in config and should load on "form load" what should I do ?
Also when I set mask to 1402/##/## , it become 14_2/__ /__
but I want to 1402 be static !
sorry for my English
You need to escape each character in the static part of your mask using backslash. See remarks in the documentation.
In you case, the mask will look as follows:
You can escape the characters programmatically. Imagine you have the following configuration file that includes the static part of the mask.
Then you can escape the characters as follows: