Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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