Input Mask on Edit Box limited to 32 characters

Issues related to forms.
Post Reply
Hackermeister
 
 
Posts: 6
Joined: Thu Oct 05, 2023 6:30 pm

Input Mask on Edit Box limited to 32 characters

Post by Hackermeister »

Trying to use Input Mask validation on an Editbox on a form for a license key that is 34 character long. However, I seem to be unable to use anything longer than 32 characters. If I edit the published HTML code manually after it has been published to add the 2 missing characters it works fine.

This works fine after adding "**" at the end:

Code: Select all

$("#EditLicKey").inputmask('******-******-******-******-******');
Is there a better workaround or am I missing something ?
User avatar
Pablo
 
Posts: 23226
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Input Mask on Edit Box limited to 32 characters

Post by Pablo »

There is currently no workaround. But I will investigate if this can be improved.
User avatar
BaconFries
 
 
Posts: 5867
Joined: Thu Aug 16, 2007 7:32 pm

Re: Input Mask on Edit Box limited to 32 characters

Post by BaconFries »

Maybe this could be of use.
https://robinherbots.github.io/Inputmask/#/demo
See the following scroll till you see working example. If your knowledgeable you could modify it.
https://stackoverflow.com/questions/533 ... ional-char
https://stackoverflow.com/questions/533 ... ional-char
Post Reply