How to show/hide fieldLabel dynamically ?
I am showing/hiding a textfield on the basis of a combo box selection.The issue is i can very easily show/hide the textfield by doing
but i am not able to do the same for the fieldLabel, and only the textfield appears on the UI without any labels.
What function can i use to show and hide the fieldLabel ?
Has anyone done this before ?
please help with some code
Use this patch to hide the field label when a field is hidden.