We have an Additional Field called "Fix Code" that has approx. 100 entries.
We use a custom Field and Form rule script, that modifies the contents of the list based on which Item is selected.
Example of part of the script:
So for example, if we select the following Item, the list should show only 4 items:
This works fine currently, however we've noticed the rule doesn't function if the user's language is set to another language (eg: Spanish)
As you can see, the user gets the full list of 100 entries, rather than just the 4 options
I believe this is because changing the language changes the name of the field "Item" to "Elemento".
Looking at the script, the dependency is set on the Field
description "Item", rather than the data field label "ITEM". So once the language changes, there is no longer an Item field and the script does not function.
Is there a way the script can be modified to either:
1) Use the name of the data field which does not change when the Language changes.
or
2) The dependency can be changed so that it looks at
Item OR
Elemento and then matches it to Fix Codes.