Change Request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 09:28 AM
Hi All,
There is a field called Peer Reviewer of list type where the requester can choose one or more reviewer.
User should not be able to select any users till the assignment group and assigned to fields are filled as the Peer Reviewer field should give list of all the group members of the group selected.
How can we achieve this logic?
I have created a onChange Client script on Peer Reviewer field where it checks if the assignment group and assigned to are empty then it will throw an error and abort action. Attached the screenshot.
Can someone please if this logic can be achieved any other way. If yes, then how?
Thanks,
Rooma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 09:58 AM - edited 08-27-2024 10:00 AM
You will need an onSubmit client script with similar logic. Or an onLoad client script with similar logic that hides the field. You could also use a business rule. Depends on the desired user experience.