cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the Label of an Input Field - to set it visible/invisible ?

Former Member
0 Kudos

Hi Folks,

how do I get the Label of an InputField?

If I set the visible property of the inputfield to "invisible" in modifyview, I want also the label to dissapear.

Anybody an Idea

I think concatenating "_LBL" to the inputfield name is not the best way

Thanks a lot

Accepted Solutions (1)

Accepted Solutions (1)

former_member205703
Participant
0 Kudos

Hi Michael,

The label for the input field will not get visible/invisible according to visibility property of the input field.

If you want to set label visible/invisible as you did it for the input field in the modify view , get the reference for the label by its ID in the modify view and the set its property.

Regards

Amol

Answers (2)

Answers (2)

Former Member
0 Kudos

thanks, i solved it !

Former Member
0 Kudos

Hi,

Create a context attribute and bind the same to the visible property of Input field and Label. This way you will be able to set the field visible/invisible without having to worry about the id of Label or any hardcoding for the input field.

Regards

Rohit Chowdhary