Catalog client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 05:55 AM
I have one Variable in catalog item
Case 1:
If i select Yes
I need to populate the another variable
Case 2:
If I select "No"
Another variable should come.
Can some one please provide me the Catalog client script ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 06:20 AM
Please send some reference please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 06:26 AM
Unless you start you won't be able to learn.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 06:34 AM
Ok Thanks ,
I will try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 08:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 08:21 AM
Can you add alert in the if and else if to see if the code is getting in the condition.
Also at the start of the script , right before if add this alert
alert(g_form.getValue('u_is_the_user_still_on_thenetwork'));
Yu mentioned this is a catalog, are you sure the name of the variable has u_, the variables font start with u_ by themselves.