diff --git a/blender-bfct/application/controllers/main.py b/blender-bfct/application/controllers/main.py index b645ebd..8af89d0 100644 --- a/blender-bfct/application/controllers/main.py +++ b/blender-bfct/application/controllers/main.py @@ -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