Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Referencing the value of a text field, not the caption

Avatar

Level 2

How do I reference the value contained within a text field to make the user-entered data bold/not bold without making the caption of the text field bold/not bold?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Two lines should do it. The first turns the caption and value bold, then the second changes the caption back to normal:

TextField1.font.weight = "bold";

TextField1.caption.font.weight = "normal";

Hope that helps,

Niall

Assure Dynamics

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

Two lines should do it. The first turns the caption and value bold, then the second changes the caption back to normal:

TextField1.font.weight = "bold";

TextField1.caption.font.weight = "normal";

Hope that helps,

Niall

Assure Dynamics