You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to format the credit card, as it is input, make it easier to read. I tried using bootstrap-inputmask with the code data-mask="9999 9999 9999 ?9999 999", which formats it nicely. However, the input will not validate.
I tried utilizing .replace(" ", ""); at several points in an attempt to eliminate the blank spaces before validation with no success.
Any suggestions?
The text was updated successfully, but these errors were encountered:
I have no idea why it doesn’t work with bootstrap-inputmask. First thing that comes to mind is that one unbinds the other’s events. jCCV’s events are namespaced since v1.0 so that shouldn’t happen, though.
I would like to be able to format the credit card, as it is input, make it easier to read. I tried using bootstrap-inputmask with the
code data-mask="9999 9999 9999 ?9999 999"
, which formats it nicely. However, the input will not validate.I tried utilizing
.replace(" ", "");
at several points in an attempt to eliminate the blank spaces before validation with no success.Any suggestions?
The text was updated successfully, but these errors were encountered: