- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2015 12:10 AM
Hi,
I am trying to change the label text value for one of the variables in my catalog item. Nothing happens when I navigate to my item but getLabelOf seems to work fine.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2015 02:07 AM
Here is an update. I've just checked the problem and it looks like this is fixed on fuji patch 3. I've verified the same on my instance patch 3 and it works fine there.
Please let me know if you have any questions.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2015 12:15 AM
Hi Dalton,
Can you please let me know on which fuji patch you are trying this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2015 12:24 AM
Can you provide the line of code that is failing?
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2015 12:51 AM
Hi Paul Morris Pradeep Sharma,
Below is the code:
function enableMultipleUsers(param){
if(param.getAttribute('name')=='Individual'){
param.setAttribute('name','Multiple'); param.innerHTML = "Enroll individually (Individual Enrollment)"; g_form.setLabelOf('u_primary_owner','Secondary Owner');
}
else{
param.setAttribute('name','Individual'); param.innerHTML = "Enroll multiple users (Bulk Enrollment)"; g_form.setLabelOf('u_primary_owner','Primary Owner');
}
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2015 01:21 AM
Hi Daltion,
On which Fuji patch you are trying this.