View Full Version : How to get dirty fields form form?

30 Nov 2009, 9:28 AM
BasicForm has function getValues()
Any field has function isDirty()
I need to get only dirty fields.
Can I do that without handling all items.items of the formPanel ?

30 Nov 2009, 11:10 AM
You will have to loop through the form fields, checking isDirty() to get the information you need.
You could extend the form object to add a function getDirty( frmID ) to return any dirty field names for a given form id.