Nope, not optional

This commit is contained in:
Andrew Croce 2018-09-27 09:59:32 -04:00
parent 4c2d143e56
commit 522eeb4b99

View File

@ -121,9 +121,9 @@ class BaseFinancialForm(ValidatedForm):
) )
ba_code = StringField( ba_code = StringField(
"Program Budget Activity (BA) Code (Optional)", "Program Budget Activity (BA) Code",
description="BA Code is used to identify the purposes, projects, or types of activities financed by the appropriation fund. <br/><em>It should be two digits, followed by an optional letter.</em>", description="BA Code is used to identify the purposes, projects, or types of activities financed by the appropriation fund. <br/><em>It should be two digits, followed by an optional letter.</em>",
validators=[Optional(), Regexp(BA_CODE_REGEX)], validators=[Required(), Regexp(BA_CODE_REGEX)],
) )
fname_co = StringField("KO First Name", validators=[Required()]) fname_co = StringField("KO First Name", validators=[Required()])