- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 11:33 AM
Dear all,
Recently I Reverted the Problem module to the OOTB version. The OOB client script "Rename Closed fields on Load" & "Rename Closed fields on change" seem to be not working correctly. The following fields show as capital case with underscore. I would appreciate it if you could provide me with a clue or guidance on how to fix it.
- CANCELED_DATE
- COMPLETED_DATE
- RISK_ACCEPTED_DATE
Regards,
Hong
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 08:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 08:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2024 05:36 AM
Hi AJ,
Yes, it works after I imported those from my PDI. Thanks for you help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 09:27 PM
open Client Scripts.
Click new to create a new Client Script
Set the table to Problem
Set the type to onLoad
Use the g_form.setLabel() method
var problemState = g_form.getValue('state');
IF (problemState == '1') {
g_form.setLabel('short_description', 'New Problem Description');
}
ELSE {
g_form.setLabel('short_description', 'Problem Description');
}