Skip to content

Commit

Permalink
Merge pull request #2061 from usagov/usagov-2053-ceo-error-inline-mes…
Browse files Browse the repository at this point in the history
…sage

Usagov 2053 ceo error inline message
  • Loading branch information
omerida authored Nov 8, 2024
2 parents 2a735c1 + e64058e commit 46f0d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/themes/custom/usagov/scripts/ceoSubmission.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ async function handleFormSubmission() {
document.getElementById(errorID).getElementsByTagName("span")[0].innerHTML = sanitizeResponse;
}

field.previousElementSibling.innerHTML = message;
field.previousElementSibling.innerHTML = "Error: " + message;

// Check if the street address, zip code or city field is empty and if it is, add the vertical line on the left side.
if (field.previousElementSibling.id === "street" ||
Expand Down

0 comments on commit 46f0d68

Please sign in to comment.