Required fields for application form
This commit is contained in:
@@ -14,16 +14,16 @@ from wtforms.validators import url
|
||||
|
||||
|
||||
class ApplicationForm(Form):
|
||||
network_profile = TextField('Blender Network Profile', validators=[DataRequired()])
|
||||
website = URLField(validators=[url()])
|
||||
network_profile = TextField('Blender Network Profile')
|
||||
website = URLField(validators=[url(), DataRequired()])
|
||||
city_country = TextField('City and Country', validators=[DataRequired()])
|
||||
teaching = BooleanField('Teaching')
|
||||
institution_name = TextField('School or institution name')
|
||||
skills = SelectMultipleField('Areas of expertise', coerce=int)
|
||||
video_example = URLField(validators=[url()])
|
||||
written_example = URLField(validators=[url()])
|
||||
portfolio_cv = URLField(validators=[url()])
|
||||
bio_message = TextAreaField('Your message for the board')
|
||||
video_example = URLField(validators=[url(), DataRequired()])
|
||||
written_example = URLField(validators=[url(), DataRequired()])
|
||||
portfolio_cv = URLField(validators=[url(), DataRequired()])
|
||||
bio_message = TextAreaField('Your message for the board', validators=[DataRequired()])
|
||||
|
||||
|
||||
# Views
|
||||
|
Reference in New Issue
Block a user