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