diff --git a/CHANGELOG.md b/CHANGELOG.md
index 963208c31d..9ecca00727 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -150,6 +150,7 @@ We sometimes use the button native Dom element to programmatically click, as the
### Fixed
- Fixed rubocop errors after Bootstrap upgrade
- Fixed RSpec tests after Bootstrap upgrade
+- Fix "undefined" Tooltip Messages [#3364](https://github.com/DMPRoadmap/roadmap/pull/3364)
## V4.1.1
diff --git a/app/javascript/src/utils/requiredField.js b/app/javascript/src/utils/requiredField.js
index 6b4995e65a..10833f8e45 100644
--- a/app/javascript/src/utils/requiredField.js
+++ b/app/javascript/src/utils/requiredField.js
@@ -1,7 +1,7 @@
import getConstant from './constants';
import { isObject } from './isType';
-const asterisk = `* `;
+var asterisk;
export const addAsterisk = (el) => {
const target = $(el);
@@ -32,5 +32,6 @@ export const addAsterisks = (el) => {
};
$(() => {
+ asterisk = `* `;
addAsterisks('body');
});
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 687385e6a9..491e2d8039 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -118,6 +118,7 @@
MAX_NUMBER_GUIDANCE_SELECTIONS: 6,
REQUIRED_FIELD_TEXT: _('This field is required.'),
+ VALIDATION_MESSAGE_PASSWORDS_MATCH: _('The passwords must match.'),
SHOW_PASSWORD_MESSAGE: _('Show password'),
SHOW_SELECT_ORG_MESSAGE: _('Select an organisation from the list.'),