- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 01:14 AM
Hi Team, we have location field in incident form and request item form whenever location is updated then Region field also display and update based on location region for that How to create script please help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 03:11 AM
Hi Rahul,
Thank you for your support,
I have below region list for example i have selected india in location field level then Asia need to display in region field level same way for all 3 region please tell me how to modify
Asia, America, Europe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 03:30 AM
It will be working for all region!
Thanks and Regards,
Rahul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 01:37 AM
Hello @Aruna10 ,
I assume you have Location field on both incident and RITM form. So instead creating region field and populate value using script, you can just extract that field from location table so whenever location gets update associated region gets updated.
Right click on form header -> configure -> form layout and dot walked to Location.region as below
Kindly mark correct and helpful if applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 01:45 AM
Thank you for your support Chetan,
I have already created region ,location fields but now I want to write script for update region based on location region should be auto populate please help script How to write on change client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 01:39 AM
Hello @Aruna10
g_form.setDisplay('region', true);
var location = g_form.getValue('location');
if(location == 'India'){
g_form.setValue('region','pune');
}
You need to write this in OnChange Client Script.
Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 02:38 AM
I have below region list for example i have selected india in location field level then Asia need to display in region field level same way for all 3 region we need to write script please help.