To whom it may concern: I looked for a while for a reliable way to validate integers (save a true number from an integer input without special characters) and I stumbled on the answer in a nice lil hack. Integer inputs will restrict special characters if you enable thousands separators. Give it a try. It’s seriously a life changing lil piece of magic. Doesn’t help everywhere, but where it does help (currency for instance) it’s a gamechanger.
3 Likes