Cursor position when input mask is set [RESOLVED]

Please have a look at this solution from @uamv: