PDA

View Full Version : Which vtype should be used for percentage ?



Anup Rana
26 Jan 2011, 9:18 PM
I am using textfield for inputing that should only contain numeric value and "." sign for representing percentage.
Which vtype is to be used for that ??

fay
27 Jan 2011, 1:26 AM
Why not just use an Ext.form.NumberField (http://dev.sencha.com/deploy/dev/docs/?class=Ext.form.NumberField) and specify minValue and maxValue in the config?