title: Using FieldList and FormField
body: <p>We have the following forms and we are trying to create list of <code>GroupRoleForms</code> for each group.</p>
  
  <pre><code>class FullNameMixIn():
      full_name = TextField(
          'Full name', [
              validators.required(message=u"Full name is required")
          ])
  
  class GroupRoleForm(Form):
      group =BooleanField('Group', default=False)
      role = SelectField(
              'Role',choices=[
              ("none", "----------"), 
              ('approver', 'Approver'),
              ('editor', 'Editor')
              ])
  
  class AdminEditUserForm(Form, FullNameMixIn):
      group_roles = FieldList(FormField(GroupRoleForm))
  </code></pre>
  
  <p>How can we create a <code>AdminEditUserForm</code> instance that contains a pre-populated list of <code>GroupRoleForms</code>?</p>
  
  <p>At the moment we are trying to do it this way:</p>
  
  <pre><code>form = forms.AdminEditUserForm()
  for group in  company.groups:
      group_role_form = forms.GroupRoleForm()
      group_role_form.group.label =  group.name
      group_role_form.group.name = group.id
      form.group_roles.append_entry(group_role_form)
  return dict(edit_user_form = form )
  </code></pre>