Hi,
Is there a way to display strikethrough text on an interface? I would like to display deleted text with strikethrough when compared two strings. I appreciate any response to this quesiton.
Thanks,
Ram
Discussion posts and replies are publicly visible
I have gone ahead and created a product use case for this internally to help raise visibility into this request.
Great, thanks!
Thank you all for jumping in to help! I was able to complete development with help of Stefan's snippet. The strikethrough feature with "Redline Comparison" plugin makes it easy for comparing oldText with newText and display the differences in a meaningful and readable way. Adding strikethrough to style for richtextitem and other text display controls would be very useful.
Sorry for putting my question in this thread.
We have default words in paragragh fields and want to make it BOLD. Is it possible? When i use fn!richtextfield plugin it is working but i want to do it in paragraph field.
Here is paragraph field.
Also, what is char unicode value for BOLD? where can i find all unicode values.
There is some "boldish" characters in the unicode standard. You can use them via the char() function and the "HTML Entity (decimal)" from fileformat.info. Give it a try and keep us updated.
https://boldtext.io
www.fileformat.info/.../list.htm
First add Redline plug-in, then use the below code in UIT in Appian.
a!localVariables( local!existingText_txt: "My name is Koushal", local!newText_txt: "My friend is Koushal", local!comapreTextCode: comparetext( local!existingText_txt, local!newText_txt ), a!richTextDisplayField( value: a!forEach( items: local!comapreTextCode, expression: a!match( value: fv!item.operation, equals: "Add", then: a!richTextItem( color: rule!IP_utils_getColors("green"), text: " " & fv!item.value ), equals: "Delete", then: a!richTextItem( color: rule!IP_utils_getColors("red"), text: fv!item.value ), equals: "Same", then: a!richTextItem( color: rule!IP_utils_getColors("black"), text: fv!item.value ), default: a!richTextItem(text: "") ) ) ))