Hi there
I am having an issue with jqxMaskedInput. The challenge is to restrict the input to digits 0-9 and capital characters A-Z (Except characters ‘L’ and ‘O’). The length of the input has to be 17 long.
My code so far looks like this:
$("#QInput").jqxMaskedInput({
theme: 'classic',
width: '160px',
height: '25px',
textAlign: 'left',
mask: '#################',
promptChar: ''
});
var regexDigit = '(\\b[0-9A-Z])';
for (i = 0; i < 16; i++) {
$("#QInput").jqxMaskedInput('setRegex', i, regexDigit);
}
There is some strange behaviour when trying to delete some characters using the backspace or the delete keys (characters are not deleted but overwritten somehow). Also strangely the last input character (17th) can only be numberic!?
P.S: I am using release 2.2.1
Thanks & cheers,
Peter