PDA

View Full Version : [CLOSED] Track status of controls



infonext
Nov 22, 2013, 7:01 PM
Hi all,

i need to track "changed" status of some controls, like textfield and combobox in my form.
Exists a built-in feature for this or i need to track manually the changes?

Thanks
Best regards

cwolcott
Nov 22, 2013, 8:15 PM
Do you need to know when fields are changing? Have you looked at FormPanel?

http://examples2.ext.net/#/Kitchen_Sink/Forms/Contact/
http://examples2.ext.net/#/Form/FormPanel/Validation/

Baidaly
Nov 22, 2013, 10:43 PM
Hello!

I guess you need to use isDirty method: http://docs.sencha.com/extjs/4.1.3/#!/api/Ext.form.field.Base-method-isDirty

infonext
Nov 25, 2013, 8:17 AM
Hi cwolcott, hi Baidaly,

thanks for your answers.
I try isDirty and works perfectly.

Best regards