Question
4
Replies
4515
Views
Posted: July 8, 2016
Last activity: October 26, 2016
Closed
Solved
How to include single quotes in Localized value in field value rule.
Need an advise from ALL on how to include single quotes in field value.
- When field rule have single quotes in Localized value, in display ' is coming.
- Tried with ' instead of single quotes in Localized value, same is the result.
- Tried with \' instead of single quotes in Localized value, same is the result.
- There is no issue if we hardcode text, instead of using field value.
Hello Christin,
What is the PRPC version you are using ? With which control you are displaying the field values ?
I believe there is a hotfix (Hfix-22332) for PRPC 7.1.7 which addresses the issue. A change was made to "Validate" activity of Rule-Obj-FieldValue class to do a filterRichText (intended to remove unsafe tags like script tag). This change displayed encoded values of quotes in controls like checkbox and dropdown. This happens because of the double encoding since these controls already do a crossScriptfilter.
Hope this helps you.
Best Regards,
Mounika