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

Madatory check is not working in Rich Text Editor control

SA-20650

Summary



Mandatory field validation is triggered on client side but 'X' symbol is not appearing for RTE control.

Error Messages



Not applicable

Steps to Reproduce



Step 1 : Create a section and add RTE Control. Check the required field check box.

Step 2: Submit the form without entering value for RTE.

Root Cause



A defect in Pegasystems’ code or rules.
The issue is side effect of a Hfix given only in 6.2 sp2. There is code in createErrorMarker function of pega_validators js to set left style on icon error by taking it from the control. As in case of RTE the element will be a hidden textarea with left -9999, It causes the icon to disappear.

Resolution

1. The changes in Hotfix-26303 were made by skipping adding left style to the RTE's error icon in createErrorMarker function in PEGA_VALIDATORS js.
2. Additionally the following local change also resolved the issue:
Work around is to always give the RTE's error icon a left of 0px. 
Add the following style to UserWorkForm: 
<style> 
#yahoo-com .iconError{ 
left:0px !important; 

</style>

Published March 16, 2016 - 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