I went through this url
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.form.field.VTypes
Version : 2.2.0
Build : 859
In Ext JS Frameworks:
1
.Created a Text field on canvas.
2.Set the vtype to 'IPAddress'.
3.Added a 'validator' function from the configs of the text field.
4.Given the below code

// custom Vtype for vtype:'IPAddress'Ext.apply(Ext.form.field.VTypes, {
IPAddress: function(v) {
return (/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/).test(v);
},
IPAddressText: 'Must be a numeric IP address',
IPAddressMask: /[\d\.]/i
});

5.Saved the Project and previewed.

-----------------------------------------

The preview shows error message for invalid IPAddress. It also shows the error message box with no text inside it, when correct IP Address is given.

Did i miss anything to disappear the empty box or is there any issue?

Please guide me in this regard.