Hide the label of the varaible but not the field(textfield or textbox).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2017 12:07 AM
HI guys,
I want to hide the label of the variable in catalogs , but its field should be visible/displayed.Please help me.
Thanks and regards,
Rajani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2017 12:18 AM
Hi Rajani,
User below line
g_form.setDisplay(Labelname, false);
Hope this will help for you.
Regards,
Parvinder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2017 12:19 AM
Hello Rajani,
Please use the following onLoad client script on your desired table:
function onLoad() {
//Type appropriate comment here, and begin script below
var oldLabel = g_form.getLabelOf('u_states'); //name of the field
g_form.setLabelOf('u_states', '');
}
Hope this helps.
Please hit Like or mark Helpful or Correct based on the impact.
Thanks,
Rajshekhar Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2017 01:25 AM
Write a onLoad script with below line of code.
g_form.setLabelOf('u_textfield',''); //u_textfield is your field name
Regards,
Bubuprasad