Some suggestions for improvement:
* Only return the value that is entered, not the underscores.
* Add support for optional characters. In your example you have "(999) 999-9999& x99999" but that is a problem for any phone number that does not have an ext since you can't leave it blank (can't put in a country code either).
* This would make a nice addition to the DateField

of course.. I can create the config.. to show underscore or not.. and set other character that can be different the underscore

Originally Posted by cstdenis

* Add support for optional characters. In your example you have "(999) 999-9999& x99999" but that is a problem for any phone number that does not have an ext since you can't leave it blank (can't put in a country code either).

sorry... I dont understand

Originally Posted by cstdenis

* This would make a nice addition to the DateField

the problem to do this.. is that DateField extends Field.. and I needed create all Fields again (MyTextFieldMask, MyDateFieldMask and extends to MyField - isnt difficult.. but for this time.. I need first test if what I do its ok.. after I can implements this) good idea too..

thanks to reply.. other problem occurs when you paste anything.. I could not find a solution yet