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

Unable to change a text input field from required to optional



Unable to change a text input field from required to an optional field. This occurs only in Create mode.

Error Messages

Please correct flagged fields before submitting the form
Value cannot be blank

Steps to Reproduce

  1. Log in to Pega Sales Force Automation (SFA). The Create Individual Lead has Last name as required
  2. Private Edit this section to set required to Never
  3. Refresh section and observe there is no indication Last Name in the UI is required
  4. Visit and leave the field. The value is still required

Root Cause

An issue in the custom application code or rules. Validation for OnAdd which ran in client.


Perform the following local-change:

Remove property in the issue from the OnAdd validation.


Published September 13, 2018 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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