Catalog Item and list collector: Requestor needs to select at least two users.

Joshua Camacho
Tera Guru

Hello, I am working on a Catalog item that is unique in a few ways.

One of the asks is that when a requestor is filling in the Catalog item they are asked to select at least two users who are identified as the "Owners" as part of the larger request.

 

I am using a list collector for the field referencing the sys_user table. 

 

The problem I am looking to solve is preventing and notifying the requestor that they need to select at least two users from the list prior to being able to submit the catalog request form.

 

I saw some client-side scripting suggestions on how to limit and remove too many selections, however, I am looking for the opposite and I am unsure of how to write a script to check how many users are selected and to prevent the form from being submitted unless at least two users are selected.

 

This is what I have so far

JoshuaCamacho_0-1675374550244.png

 

 

Thank you

Any suggestions

1 ACCEPTED SOLUTION

newhand
Mega Sage

HI@Joshua Camacho 

Follow below pics !

1.png2.png

Please mark my answer as correct and helpful based on Impact.

View solution in original post

5 REPLIES 5

You rock! That is exactly what I was looking for. Thank you