Member Avatar for ShandyElliott

I have a quantity field where I'm only allowing a max of 3 numbers (numbers only) in addition to the tab and backspace keys. I want to include the delete key, but it appears both the delete key and the "del" key on the numeric keypad share the same charcode (46). If I allow for delete, I can't figure out how to not allow for the "del" decimal.

Am I missing a charcode or what?

Member Avatar for ShandyElliott

This forum is absolutely useless. The last few posts I've made sit unanswered.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.