Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Required asterisk does not display on label after upgrade



You upgraded an application on PRPC 6.3 SP1, using free-form layouts, to Pega 7.1.7.
After the upgrade you notice that the asterisks are missing on empty labels marked as required.

Below screenshot displays expected asterisks in PRPC 6.3 SP1. These are missing after the upgrade.

Error Messages

Not Applicable

Steps to Reproduce

1. Configure a free-form layout in PRPC 6.3 SP1 to include required labels.

2. Upgrade application to Pega 7 and observe if the same layout is displayed with asterisks next to the required fields.

Root Cause

The root cause of this problem is the specific configuration and the rendering of this markup in browsers in HTML5/Standards.
Since there is no label, the markup generated for this scenario is an empty <SPAN> element.

In PRPC 6 (where Quirks mode is used), browsers choose to render this empty <SPAN> on the screen. And the asterisk would be displayed through an image defined on the style class.

In Pega 7, (where HTML5/Standards mode is used), browsers do not render empty <SPAN> elements.


There are two local-changes you can explore are listed below.
  • If you need to set a blank label marked as required, then add a hidden space using "&nbsp;". This adds content to the <SPAN>, forcing the browser to render the asterisk.

  • If you have many places to update these cells, and are seeking a solution in one place, then add the following style to the UserWorkForm

.iconRequired {
height: 8px;

This approach is a one-place-change, but you must be aware this will apply additional height globally everywhere the .iconRequired class is used. 
Suggest Edit

Published July 14, 2015 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us