Change contents of a drop down based on conditions

Change contents of a drop down based on conditions

Hi all, 

I've seen that you can you Field & Form rules to remove / add options from a pre-populated drop down.

For example, in the thread: https://pitstop.manageengine.com/portal/community/topic/script-request , the user has 300 entries, but only wants to display 10 of these.

The script used specifies exactly which 10 should be displayed, by naming them.

eg:

$CS.addOptions("WorkOrder_Fields_UDF_CHAR1",["Option 1", "Option 2", "Option 3", "Option 4", "Option 5", "Option 6", "Option 7", "Option 8", "Option 9", "Option 10"]);


Is there any way you can do the same thing, based on crtieria that certain list items share?

For example, the dropdown list contains the following items:

Laptop 1
Desktop 1
Laptop 2
Desktop 3

...But I only want to display items in the list containing the word "laptop"?

Hope this makes sense!

                  New to ADSelfService Plus?