class findUser(widgets.WidgetsList): userName = widgets.AutoCompleteField(label='Username', search_controller='search', search_param='userName', result_name='people', validators=userNameValidator()) action = widgets.HiddenField(label='action', default='apply', validator=validators.String(not_empty=True)) groupName = widgets.HiddenField(label='groupName', validator=validators.String(not_empty=True)) searchUserForm = widgets.TableForm(fields=findUser(), submit_text='Invite')