I have a MaskedTextBox with a prefix. I want the caret to be placed on the part after the prefix.
E.g. OH00________
^
\ -- Caret Here
But the caret actually appears here:
E.g. OH00________
^
\ -- Caret Here
How can I make the MaskedTextBox behave this way?
E.g. OH00________
^
\ -- Caret Here
But the caret actually appears here:
E.g. OH00________
^
\ -- Caret Here
How can I make the MaskedTextBox behave this way?
<
li
><
label
>State ID: <
input
class
=
"k-textbox"
name
=
"state-id"
maxlength
=
"50"
type
=
"text"
data-bind
=
"value: stateId"
pattern
=
"OH00[0-9]{8}"
validationMessage
=
"Please enter a state ID in the form of OH0012345678"
/></
label
> <
span
class
=
"k-invalid-msg"
data-for
=
"state-id"
></
span
></
li
>
$(
"input[name='state-id']"
).kendoMaskedTextBox({
mask:
"OH0099999999"
});