How to hide the string field label alone in the form?

Gowri S
Tera Expert

Hi,

 

I need a checkbox and string field, when checkbox is checked, only string field value should be displayed not the label. Is there a way to hide the label alone? 

 

I need this field value to be populated in report as well. So I don't want to use UI Macros.

1 ACCEPTED SOLUTION

Karthiga S
Kilo Sage

Hi @Gowri S 

 

Try hiding the label with the below code.

 

Apply the necessary conditions as per your requirement.

g_form.setLabelOf('u_textfield',''); //u_textfield is your field name

 

Please mark it Correct and Hit Like if you find this helpful!

 

Regards,

Karthiga

View solution in original post

5 REPLIES 5

Glad my solution helped!

You're Welcome Gowri!