Creating a dynamic picklist using an already existing picklist of values

Creating a dynamic picklist using an already existing picklist of values

I have an issue where im trying to populate a picklist with options, depending upon the value of another separate picklist that already exists. I saw the dependency example in the JS how-to, but im not sure that scenario is the best solution for what I am wanting to do. However if that is not the case, i am more than willing to learn or make it work. 

First things first, my MFH-Location dropdown has about 50 options for location, so based on that result, i need to populate the UDF_CHAR4 field with the appropriate room numbers. If i have to manage the room numbers via JS then so be it, but i'd rather manage the MFH-Location options in the "Incident - additional fields" page. 


So how can I wire up an empty picklist to populate only with the appropriate room numbers based on the current MFH-Location value. 



Here is the code im executing. (the alert box was just there for debugging, making sure the if statement ran)

The $CS.addOptions command did not add the array of options in the 2nd half of the argument. 

if ($CS.getValue("WorkOrder_Fields_UDF_CHAR1") === "Fillmore - Building 1") {
  //alert("this is true");
   $CS.addOptions("WorkOrder_Fields_UDF_CHAR4",["Room 1", "Room 2", "Room 3"]);


                New to ADManager Plus?

                  New to ADSelfService Plus?