def get_hidden_fields_errors(self, form):
if not self.include_hidden_fields or form.is_valid():<EOL><INDENT>return {}<EOL><DEDENT>response = {self.hidden_field_error_key:{}}<EOL>for field in form.hidden_fields():<EOL><INDENT>if field.errors:<EOL><INDENT>response[self.hidden_field_error_key][field.html_name] = self._get_field_error_dict(field)<EOL><DEDENT><DEDENT>return response<EOL>
Returns a dict to add in response when something is wrong with hidden fields