code: def create_form_data(self, **kwargs):
          children = kwargs.get('children', [])
          sort_order = kwargs.get('sort_order', None)
          solr_response = kwargs.get('solr_response', None)
          superuser = kwargs.get('superuser', False)
          vocabularies = self.get_vocabularies()
          for element in children:
              element.children = add_missing_children(
                  element.contained_children,
                  element.children,
              )
              element.add_form(
                  vocabularies=vocabularies,
                  qualifier=element.qualifier,
                  content=element.content,
                  superuser=superuser,
              )
              if element.form.has_children:
                  if getattr(element.form, 'qualifier_name', False):
                      add_parent = PARENT_FORM[element.form.qualifier_name](
                          content=element.qualifier,
                      )
                      element.children.append(add_parent)
                  element.children.sort(
                      key=lambda obj: element.form.child_sort.index(obj.tag)
                  )
                  for child in element.children:
                      child.add_form(
                          vocabularies=vocabularies,
                          qualifier=child.qualifier,
                          content=child.content,
                          parent_tag=element.tag,
                          superuser=superuser,
                      )
          element_group_dict = {}
          for element in children:
              if element.form.name == 'meta' and element.qualifier == 'hidden':
                  element_group_dict['hidden'] = [element]
              else:
                  if element.form.name not in element_group_dict:
                      element_group_dict[element.form.name] = []
                  element_group_dict[element.form.name].append(element)
          if 'hidden' not in element_group_dict:
              hidden_element = PYUNTL_DISPATCH['meta'](
                  qualifier='hidden',
                  content='False')
              hidden_element.add_form(
                  vocabularies=vocabularies,
                  qualifier=hidden_element.qualifier,
                  content=hidden_element.content,
                  superuser=superuser,
              )
              element_group_dict['hidden'] = [hidden_element]
          element_list = self.create_form_groupings(
              vocabularies,
              solr_response,
              element_group_dict,
              sort_order,
          )
          return element_list