PDA

View Full Version : How to generate an Error Report for unfilled fields in a grid



elixir1
27 Nov 2013, 5:00 AM
?I have to show an error report for the unfilled fields in a grid. I can set fields as editor: {allowBlank: false} to prevent user to leave it as blank but I want to show error report for the unfilled fields.

Any suggestion/thread/example would be helpful.

scottmartin
27 Nov 2013, 7:01 AM
form.hasInvalidField() checks the form.
field.isValid() check the fields
form.getFields() returns the field list