I want to format a text box in a web form to have "-" in a fixed position on page load and before the "-" it should accept only 3 characters. After entering 3rd character the user should not be allowed to remove or edit the "-" and cursor should automatically move to position next to "-".
How can i do this?