diff --git a/app/assets/javascripts/frontend/form-validation.js.coffee b/app/assets/javascripts/frontend/form-validation.js.coffee index bc17f46aa2..f02e1d51bc 100644 --- a/app/assets/javascripts/frontend/form-validation.js.coffee +++ b/app/assets/javascripts/frontend/form-validation.js.coffee @@ -16,6 +16,7 @@ window.FormValidation = container.closest("td").find(".govuk-error-message").empty() else container.closest(".question-block").find(".govuk-error-message").empty() + container.closest(".question-block").removeClass("govuk-form-group--error") container.closest(".govuk-form-group--error").removeClass("govuk-form-group--error") clearAriaDescribedby: (container) ->