Hi,
I am trying to create a mask with options fields. The mask is 999-999-999 but I would like the option have 2 or 3 numbers in each section (i.e. 12-12-12 or 123-123-123 or any combination).
I have tried data-inputmask='mask' : '99[9]-99[9]-99[9]' but this still forces three numbers in each section.
How to I set up the mask for 2 or 3 numbers in each sections.
Cheers,
Kevin.
I am trying to create a mask with options fields. The mask is 999-999-999 but I would like the option have 2 or 3 numbers in each section (i.e. 12-12-12 or 123-123-123 or any combination).
I have tried data-inputmask='mask' : '99[9]-99[9]-99[9]' but this still forces three numbers in each section.
How to I set up the mask for 2 or 3 numbers in each sections.
Cheers,
Kevin.
I was able to use data-inputmask='mask' : '99[9]-99[9]-99[9]' in a Form | Designer | Layout | Text Box object in the Extra params box that worked for me.
[attachment=0]InputMaskWithOptions.PNG[/attachment]
Be sure not to put quotes round the whole string (i.e., ="'mask' : '99[9]-99[9]-99[9]'") and put the item in
[attachment=0]InputMaskWithOptions.PNG[/attachment]
Be sure not to put quotes round the whole string (i.e., ="'mask' : '99[9]-99[9]-99[9]'") and put the item in
This topic is locked and no more replies can be posted.