1036
Views
6
Comments
Make an input variable BOLD inside of an expression with text.
Question

I have an expression widget where I have called out some variables along with text on both sides of each variable.  How can I BOLD just the variable?

"Your +CampaignName+ " campaign with...."

2016-04-22 00-29-45
Nuno Reis
 
MVP

Hello Peter.


In Tradicional Web you can always use HTML and pick "Escape Content=No"

There is no "Escape Expression" in Reactive. Check here the options.

UserImage.jpg
Brad Johnson

Nuno Reis wrote:

Hello Peter.


In Tradicional Web you can always use HTML and pick "Escape Content=No"

There is no "Escape Expression" in Reactive. Check here the options.



2020-03-01 17-52-33
Nikhil Gaur

Hi Peter,

In Traditional web apps you can do like Nuno said in this comment but for reactive only solution you have his break your text in three different expression and set style of the middle one to bold either using styles editor or applying bold class from style.

Yes, there is class named "bold" in OutSystemsUI which you can use.

UserImage.jpg
Peter Goyal

Thank you Gentlemen.  I took three containers put the expression in the middle one and made it bold.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Peter,

It is also possible to do it like this:

UserImage.jpg
Brad Johnson

Yes Your tutorial is good and understandable as how HTML work in this solution.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.