Exemple #1
0
class ColumnLabelsForm(Form):
    assignments = FieldList(SelectField())
Exemple #2
0
class NewFactorForm(Form):
    factor_name = StringField('Factor name', validators=[Required()])
    possible_values = FieldList(StringField(''))
    submit = SubmitField()
Exemple #3
0
class FileUploadForm(Form):
    uploads = FieldList(FileField())
Exemple #4
0
class PollForm(Form):
    question = TextField('Question', [validators.Required()])
    choices = FieldList(TextField('Choice'),
                        min_entries=2,
                        widget=ListWidget())
Exemple #5
0
class SimpleArchiveForm(Form):
    archive = FieldList(FileField("Archive"), min_entries=3)