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 Fields behaves incorrectly after Pega 7 upgrade



When there is a required field in the Section and user does not enter a value, corresponding label changes its color to Red in PRPC v6.x, whereas it is not happening in Pega 7 after migration.

Error Messages

No error messages but label color is not changing to Red.

Steps to Reproduce

1. Create a Section containing a required field in PRPC 6x without configuring the 'label for' parameter. Label turn red if tried to submit the form without providing value for that required field.
2. Migrate the application to Pega 7x.
4. Do not update the 'label for' parameter for those required field. Now if tried to submit the form without providing the value for the required field, label will not turn to red.

Root Cause

In PRPC 6x, 'label for' parameter was picked internally by the system and user does not have to specify the particular property for it.

However in Pega 7x, it is mandatory to configure the 'label for' parameter.


Configure 'label for' parameter on all the fields to resolve the issue.

Suggest Edit

Published January 31, 2016 - 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