From 522eeb4b996e450f1418bcc359af32cefa195f59 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Thu, 27 Sep 2018 09:59:32 -0400 Subject: [PATCH] Nope, not optional --- atst/forms/financial.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atst/forms/financial.py b/atst/forms/financial.py index 71dd65f4..fa60ed8d 100644 --- a/atst/forms/financial.py +++ b/atst/forms/financial.py @@ -121,9 +121,9 @@ class BaseFinancialForm(ValidatedForm): ) 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.
It should be two digits, followed by an optional letter.", - validators=[Optional(), Regexp(BA_CODE_REGEX)], + validators=[Required(), Regexp(BA_CODE_REGEX)], ) fname_co = StringField("KO First Name", validators=[Required()])