In Workfront we have two fields on an intake (request) form: Tier and Project Type. The Project Type field needs to be limited as follows:
If Tier 1, Discovery or Creative can be chosen
If Tier 2, Discovery or Creative can be chosen
If Tier 3, Only Creative can be chosen
If Tier 4, Only Creative can be chosen
To try to implement this, we have set the default value of Project Type to "Creative" and set it's visibility to only show up if Tier 1 or Tier 2 is selected. For the most part this works. If someone selects Tier 3 or Tier 4, the Project Type field does not appear and is defaulted to "Creative". If someone selects Tier 1 or Tier 2, the Project Type field appears (defaulted to "Creative") but they are able to change the selection to "Discovery".
The problem we're running into is that someone can choose Tier 1 or Tier 2 to make the Project Type field appear, change the Project Type to "Discovery", then change the tier to either Tier 3 or Tier 4. This will cause the Project Type field to disappear yet stay selected to "Discovery". This breaks our requirements of only allowing "Discovery" to be selected for Tier 1 or Tier 2 requests.
So, is there a way to either:
- Change the value of a field along with its visibility? (e.g. when Project Type is changed to not-visible its value will change back to "Creative". or
- Change the value of a field based on another field? (e.g. whenever the tier is set to either Tier 3 or Tier 4, the Project Type changes to "Creative."
![Change value based on another.png Change value based on another.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/53270i96AC11B44FE09294/image-size/large/is-moderation-mode/true?v=v2&px=999)