PDA

View Full Version : How to see the possible values that can take vtype?



flormariafr
Jan 21, 2010, 1:04 PM
Hi,

How to see the possible values that can take vtype?

For example to validate numeric fields.

Thanks,

fpw2377
Jan 21, 2010, 2:27 PM
Try looking here:

http://www.extjs.com/deploy/dev/docs/?class=Ext.form.VTypes

this is the documentation for EXTJs which is what Coolite is based on.

flormariafr
Jan 21, 2010, 3:10 PM
I see the following vtype on the Form examples:



Vtype="email"


Which other options than email are already implemented for this kind of validation?

fpw2377
Jan 22, 2010, 9:44 AM
It appears that validation is a client side thing and is handled by EXTJs so I assume that everything on this list:

http://www.extjs.com/deploy/dev/docs/?class=Ext.form.VTypes

can be used.