Logical name: xpg_casesubtype
xpg_casesubtype is a lookup field and those records have a field called casetypecode as well using the same option set.
I want to filter xpg_casesubtype records by which casetypecode is chosen
I have come up with the following JS, but it doesnt seem to work, theres no error.