Madatory check is not working in Rich Text Editor control
Mandatory field validation is triggered on client side but 'X' symbol is not appearing for RTE control.
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.
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.
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: