solved How to edit error messages?

researchcooperative
@researchcooperative
3 years ago
694 posts
I need to edit an edit an error message that appears when form field is not properly filled during signup.

In the user module where signup is configured, I cannot find any language string or template that matches the error message.

Where should I be looking?


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)

updated by @researchcooperative: 05/07/21 06:58:21AM
paul
@paul
3 years ago
4,325 posts
What is the error message you want to change, and in which form view are you getting it?


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 02/04/21 06:13:11AM
researchcooperative
@researchcooperative
3 years ago
694 posts
Thanks,

The message comes up in the Registration form that uses see at Signup. Attached doc shows the message. The field in which I have entered too many words is also highlighted.


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)
paul
@paul
3 years ago
4,325 posts
That string is in the Core and can be edited via the Core's language tab option. However, it is a composite message and is made up of several different strings with replace options as part of them.
For the one you mention above, take a look a Core language strings 30, 31, 100, and 101
hth


--
Paul Asher - JR Developer and System Import Specialist
researchcooperative
@researchcooperative
3 years ago
694 posts
Thanks... that helped, though the Core language strings I needed to change turned out to be 30, 31, and 103. The error message is now shorter, with caps at start (see below).

Small changes, but they may help (and should work in other error message combinations).

New error message:

PROBLEM:- invalid value for "short self description" - value must be a string, with maximum of 120 characters


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)