Here is the problem: A text field represents a date. If the first character entered is 9, then the field should automatically change to look like 09/. If the first character entered is 1, then nothing happens until the second character entered is 0, 1 or 2. For example, if 1 is the next character, then it looks like 11/. If the next character entered is a 4, then the field looks now looks like 11/04/. Is there some algorithm for this type of process? There are many combinations.