I have a requirement where in a text field needs to be formatted in a specified format of "X.1234567"

I have a requirement where in a text field needs to be formatted in a specified format of "X.1234567", where 'X' and '.' will be a constant followed by 7 digits.
If we are typing 123 in the text field, it should be formatted to "X.0000123". 

Any help would be appreciated.

Thanks!

  Discussion posts and replies are publicly visible