Question


Capgemini
SE
Last activity: 13 Oct 2025 10:25 EDT
Text "no value" is displayed when there is no value in a field in Pega 24.1
After upgrade to 24.1, we are getting the text "no value" is displayed along with -- when no value is present.
For example:-
A new span is added in the DOM
<span class="no-value-span">no value</span>
We can fix it with a simple CSS update by setting class no-value-span to display:none. But is there any better solution to fix it globally
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 6 Jun 2024 4:27 EDT


Pegasystems Inc.
IN
@AbikashSharma - For accessibility purpose added no value span tag which will be read by screen reader and that value should not be seen in UI and should only show --. Some custom CSS styles might be overridden and showing the value. In Infinity 24.1 its not showing "no value". Can you verify the styles linked up with that span.
Thank you.
Updated: 30 May 2024 7:15 EDT


Virtusaconsulting Services Pvt Ltd
IN
@Priyanka Boga How do we fix this for automation ? Do we need to change our scripts for 24.1 which were working fine in 8.8.


Pegasystems Inc.
IN
@Shayi777 - If those styles are not coming from the custom implementation then it could be a issue and have to reach out to GCS by spinning off the INC ticket.
Thank you.


TForce Freight
US
@Shayi777 , How did you resolve this issue for automation ?Did you change the scripts ? Please let us know .We have same issue and trying to resolve .


World Bank Group
IN
@Priyanka Boga hello,
no value is displayed in email(both in UI and generated email) if the property is empty. How to solve this? Thanks in advance


Pegasystems Inc.
IN
@KishoreR7037 - Need to add below style in the correspondence rule to not to display that in email. In portal Pega has added styles to not to display it and those styles wont be passed to email that is why issue is seen.
<style>
.no-value-span{
display:none !important;
}
</style>


World Bank Group
IN
@Priyanka Boga Thank you for your response. Instead of adding it in every correspondence rule, is there any other way to solve this? Like having this code in userworkform?


None
DE
@Priyanka Boga Hello! Thanks for sharing the information. I was wondering if there's any official or recommended way to replace the "no value" text with a custom value (e.g. "n.a.") instead of just removing it? Specifically, when we are not on 24.1 version. Appreciate any insights!


Pegasystems Inc.
IN
@YYGe28828 - No we don't have any way to customize this "no value" . The value is coming from OOTB js files and cannot be customized.
Can try with creating a field value for no value text.
Thank you.