Set "inputmode" on a currency field to "decimal"?

I want to add how to use the escapeChar option.

Let’s say, for example, you want the phone number to have a prefix (0197) that is uneditable, and then the user can enter the rest of the number following a specific number pattern (99 999 999 9).

Working Demo: https://tutorials.tadabase.io/input-mask/demo-phone-number

To do this, you can follow steps 1, 2, and 3 above and then add the following code to the JavaScript.

Click here to see steps 1, 2, and 3 from the post above

Javascript Code

TB.render('component_3', function(data){
    data.ele.find('.my-input-mask input').inputmask("\\0\\1\\9\\7 99 999 999 9",{
        "escapeChar":"\\"
    });
});
2 Likes