Input mask for text box to enforce numeric input and right adjust.

T

ThomasAJ

Have not done input masks for a few years and am stumped.

I have a text box that needs to enforce +ve numeric input. I have tried
various masks but the problem is unless the user starts from the left hand
side inputing a number it gets rejected. When a user clicks on a text box the
mouse pointer does not necessarily 'click' on the far left or right but often
in the middle which forces the user to 'line up' the start of the keying.

Can't the mask just right adjust upon leaving when say the user starts
typing in the 2nd. position of say a 6 digit mask and only type say '50' and
then tab out?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top