Auto update summary after validate attribute.
Add argument to function resetForm(id), where argument 'id'(array|string) of attributes.