Honored Contributor.. Honored Contributor..
Honored Contributor..

how to set the message for mandatory field

Hello Experts,
I need your help please.
SM 9.52.
I need to customize the messages displayed for the mandatory fields?

For example in change management I have "Normal Change" & "Release".
Each one has its own form & different caption names.

For example in NOrmal change the description field is called "Change Description" & in Release it is called "Release Description" (however in the database it is the same field).

How can I customize the message that is displayed for each form (in the datadict the field is called Change Description) so when we don't add this field in the Release, a message is displayed "Change Description is required", but I want to display "Release Description is required".

Can someone help?


1 Reply
Acclaimed Contributor.
Acclaimed Contributor.

Re: how to set the message for mandatory field

As i understood your requirements - you need to display a message for operator when he is try to update record but leaves the field "change description" blank.


Then add "Format control" for each form and set in "Validations" tab condition you need

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.