I would like to format an input mask for entering ip addresses... 255.255.255.0, or 136.14.122.1 or 14.122.2.133. If the user just puts 2 digits in one of the octets, the mask would format the string correctly. Any ideas? It could be that masks won't do it, and that a better way would be to check what was entered and either format it correctly or request the user to re-enter.