Marginally more flexible input constraints
This commit is contained in:
parent
7398773714
commit
38fdfc1e90
|
@ -16,7 +16,7 @@ class CLForm(Form):
|
|||
default="Sage Bernerner"
|
||||
)
|
||||
company = StringField('Company:',
|
||||
[validators.Length(min=4, max=99)],
|
||||
[validators.Length(min=2, max=99)],
|
||||
default="BananaCorp"
|
||||
)
|
||||
jobandpronoun = StringField('Job and Pronoun (a/an):',
|
||||
|
@ -24,15 +24,15 @@ class CLForm(Form):
|
|||
default="a banana stocker"
|
||||
)
|
||||
skilltypes = StringField('Skill Type:',
|
||||
[validators.Length(min=4, max=99)],
|
||||
[validators.Length(min=2, max=99)],
|
||||
default="practical"
|
||||
)
|
||||
myskills = StringField('My Skills:',
|
||||
[validators.Length(min=4, max=99)],
|
||||
[validators.Length(min=2, max=99)],
|
||||
default="stocking bananas"
|
||||
)
|
||||
closingtext = TextAreaField('Closing Text:',
|
||||
[validators.Length(min=4, max=99)],
|
||||
[validators.Length(min=2, max=99)],
|
||||
default="I look forward to hearing from you"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue