Change Request

roomawakar
Tera Contributor

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 

 

1 REPLY 1

Bert_c1
Kilo Patron

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.