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 filed validation pop up displays despite entering data

SA-66273

Summary



The required filed validation pop up displays even after entering the data in the required field.


Error Messages



Please correct the flagged fields before submitting the form.


Steps to Reproduce

  1. Create a section with a required field (Text Input)
  2. Include the created section in two dynamic layouts
  3. Set one of the dynamic layouts as visible when on some condition, and the other to be always visible
  4. Refer the two dynamic layout section in a flow action and submit the form


Root Cause



This works as per the Pega Product design.


Resolution

Here’s the explanation for the reported behavior: 

When dynamic layout visibility fails, only the parent div element is set to display none. The child elements like text input, text area and other form elements are present in the Document Object Model (DOM). They are hidden for the user. However, elements are still present in the DOM. While submitting the form, it attempts to validate all the form elements. Hence, error occurs.

Configuration changes should be made according to the requirement so that a particular element is also hidden.



 

Published October 12, 2018 - Updated October 8, 2020

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