How do I get label of description
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2016 02:32 AM
When I am using g_form.getLabel('description') code in client script I am getting Short Description label even for g_form.getLabel('short_description') also. To get description label what I have to use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2016 04:01 AM
Hi Himabindu,
Try the below code:
g_form.getLabelOf('short_description')
g_form.getLabelOf('description')
Thanks,
Vinobalu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2016 04:14 AM
Use below code...
document.getElementById('element.hr_case.description').innerText //for description label
document.getElementById('element.hr_case.short_description').innerText //for short description label
Note: Make sure change the table name based on your requirement.