Is it possible to set a template for the Form Input element?
For example: I want to capture a credit card number so instead of:
1234123412341234
I want it to appear as:
1234 1234 1234 1234
Is it possible to set a template for the Form Input element?
For example: I want to capture a credit card number so instead of:
1234123412341234
I want it to appear as:
1234 1234 1234 1234
Hello @tonygoodchild, unfortunately the input mask feature is not implemented. It’s technically possible use a third party solution that can be integrated to a regular input control, is my plan in that situation.
In the latest dhx.Suite v9.0 we finally extended the Form input masks:
Now you can format your inputs easily using the patternMask
property:
Here you can find an example with most common masks:
https://snippet.dhtmlx.com/gu1ekt1z
Please, download the latest available dhx.Suite build from your client’s area to get this and many other features.