try the following format, download jquery.maskedinput.min.js and jquery.min.js, in custom files declared as not ClientEvents> UniEvents should not be placed beforeInit:
beforeInit function (sender, configuration)
{
Ext.onReady (function () {
$ ("#" + sender.id + "- inputEl"). mask ("(99) 9999-9999? 9");
});
}
but it didn't work, how can I do that?