Need help showing related list based on last selected Department level
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi Experts,
I have 5 Department fields on my form, and each field is dependent on the previous one. For example, when I select Department 1, the Department 2 field only shows departments under Department 1, and so on.
Sometimes I select only 1 department, sometimes 2 or 3, and sometimes all 5 levels. I have a UI Action button, and when I click it, I want to show the related list of Users that belong to the last department level I selected.
Example:
If I select only Department 1 → show users from Department 1
If I select Department 1 → Department 2 → Department 3 → show users from Department 3
If I select all 5 levels → show users from Department 5
How can I get the last selected department value and display the related list of users based on that?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
without saving the record and without redirecting to the another page
