G
Guest
Hi
I'm using an input mask on a field. The mask is
character in the mask, denoting the field length (this includes the optional
characters.)
The problem is this: if a user clicks on the field on a form (rather than
tabbing to it,) if they don't click on the very far left of the field, the
cursor "lands" somewhere between the start and end of the field which is very
fiddly for data input. The user will either have to use the left arrow key
to go to the start of the field... or, even worse, they might not even
realise that they're not at the start of the field and type in a short entry
(maybe 3 characters) midway in the field!
How can I prevent this? Hopefully users will tab to the field but I need to
sort this so they can't click somewhere in the middle.
Also I've just found that when you use "a" in a mask, it permits a space to
be entered! Is there any way that you can specify a mask for an optional
character (either letter or digit) so that it cannot be a space? I need to
ensure a user doesn't enter any gaps between characters in the field.
Can you help?
TIA if you can
Rich
I'm using an input mask on a field. The mask is
The mask is set up so that the underscore character appears for everyAaaaaaa (so the last 6 characters are optional.)
character in the mask, denoting the field length (this includes the optional
characters.)
The problem is this: if a user clicks on the field on a form (rather than
tabbing to it,) if they don't click on the very far left of the field, the
cursor "lands" somewhere between the start and end of the field which is very
fiddly for data input. The user will either have to use the left arrow key
to go to the start of the field... or, even worse, they might not even
realise that they're not at the start of the field and type in a short entry
(maybe 3 characters) midway in the field!
How can I prevent this? Hopefully users will tab to the field but I need to
sort this so they can't click somewhere in the middle.
Also I've just found that when you use "a" in a mask, it permits a space to
be entered! Is there any way that you can specify a mask for an optional
character (either letter or digit) so that it cannot be a space? I need to
ensure a user doesn't enter any gaps between characters in the field.
Can you help?
TIA if you can
Rich