View Full Version : Text Field Insert Mode

13 Sep 2013, 3:42 AM

is there a config option or a way to change the insert mode in a text field, i want to make the text field in insert mode (when user enters characters will override the next one as follow: if the text in text field is "test me", the pointer is at position 2 and the user inserted "p" the text will be "tpst me").

any idea how i can do it?

Thanks in advance.
Jamil Isayyed

15 Sep 2013, 10:40 PM
No, you can not affect insert mode.
You may listen to keyup event and remove one character after the current selection. However, this may not work in case of press-and-hold.
Or you may simply display instructions for user, how to switch insert mode themselves. :)