- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2020 02:16 AM
Hey Guys,
I have a requirement , Where i have to field == Desk phone.
When Desk phone is selected , 2 radio buttons should be appear. A and B.
When A is selected , it will have C and D under it.
How to achieve this??
Please suggest.
Thank you
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2020 09:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2020 05:44 AM
Hi Ankur,
Will catalog client script??.
Something like this.
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
//Type appropriate comment here, and begin script below
if (newValue == "Desktop") {
g_form.addInfoMessage("If New Hire, state that accessories are included (Two Monitors, Cables, Keyboard and Mouse)");
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2020 06:00 AM
Hi Naveen,
as mentioned earlier you can use showFieldMsg to show it for variable and not for the choices
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2020 06:22 AM
can radio buttons be created as variable??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2020 05:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2020 03:29 AM
I would also like to show the msg (if new hire) when New Hire is selected .
How can i achieve this??
I tried catalog client script
function onLoad() {
//Type appropriate comment here, and begin script below
if(hardware_category == 'Desktop'){
g_form.addInfoMessage('If New Hire, state that accessories are included (Two Monitors, Cables, Keyboard and Mouse)') ;
}
}
But not working.
Please suggest.