The Number|Text etc fields are very useful in my grids, so I'd like to use them in forms otherwise. Following the path of inheritance is pretty difficult... can anybody tell me what I might do to replace an ordinary input type='text', for example, with a NumberField?
thanks!
thanks!

#2
![]() |
![]() var x = new Ext.form.NumberField(); x.applyTo("id"); ![]() |
#3
![]() | |
![]() Quote:
![]() |
#4
![]() |
![]() Have a look at the form example which isn't in the doc menu yet. It's not fully finished, but works and has lots of samples for exactly this.
![]() |
#5
![]() |
![]() I blogged about the inheritance chain of the form fields about a week ago. Also have some of the undocumented properties of the TextField config options. As always, it's undocumented and we're dealing with alpha code; so don't take any of this as being 'stable'.
http://www.divergingpath.com/index.c...eld-Validation ![]() |