cancel
Showing results for 
Search instead for 
Did you mean: 

Label change in visual composer

Former Member
0 Kudos

Hi experts,

Can anyone tell how to change the label (make as bold) in visual composer screen and tell me how to change the color of the input field value based on condition.

tks in advance

sarasa

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sarasa,

you can use an expression box to change the appearance of a value based on a condition. E.g. 'if the value is less than 10, set make backgroundcolor to red'. As far as I know, changing the foreground color doesn't work, it's a bug.

So, use an expression box instead of an input field, make a field reference to the value you want to display and make the changings under the tab 'conditions'.If you need the field to be editable, take a look at <a href="https://wiki.sdn.sap.com/wiki/display/VC/Badreadabilityofdisabledinput+field">this workaround</a>

Best Regards, Benni

Former Member
0 Kudos

As Benjamin mentioned you can use an expression box and there is still a bug, you can not change the foreground color. I hope this bug will be fixed asap.

With NW2004s on SPS11 it should be possible to modify the colors of your application via portal theme.

Best Regards,

Marcel

Former Member
0 Kudos

Hi

I dont know about changing label as bold but knows a work around.

You can put HTML text field there and change the formatting of the field as your requirement. It will appear just like label.

For changing the color of input field refer to

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/changing+colors&">changing color</a>

Thanks

Harsimran