How to clear a dependent enumeration

Continuing the discussion from Combining DependentEnumeration with DependentField not working properly:

Hi,

we have a dependent enumeration which we need to clear in certain cases; the master field for clearing is the same as the master field for the dependent enumeration. We only want to clear the value of the enumeration, but it still has to be visible in the UI for the user.

In version 2023.06 we could do this with the workaround from Combining DependentEnumeration with DependentField not working properly (set a dependency with “clear” for the group where the enum is included).

This workouround does not work anymore because there is no “clear” for dependent groups in 2024.06, only “notRelevant” - which we cannot use in our business usecase.

Are there any other options how to clear a dependent enumeration?

Thanks!
Jana

Hi @jana-dark-core
I tried in both 2024.06 and 2025.06 and am not aware of any workaround that exactly covers your use-case.

I checked the Form Engine Migration guide and they recommend changing the Group Clear to a Field Value null dependency but, as you have found, this lead to the error in combination with a dependent enumeration. This edge case of combining a Dependent Group with a Dependent Field was not considered.

I can see a few different ways forward.

  1. Project specific development
  2. A new requirement
  3. A modeling solution using a computed trigger if this fits your use case

I’ve modeled this for you here
DependentEnumerationClear_DM.json (5.5 KB)
DependentEnumerationClear_FM.json (4.7 KB)

When you click on the “Confirm Trigger”, the Dependent Enumeration is cleared. However, all values of the Enumeration are visible until you remove the check from the “Confirm Trigger”. Basically, this trigger clears the field and turns off the dependent enumeration too.

It moves you somewhat closer to a solution but does not return the functionality to what you could produce in 2023.06 with the modeling workaround.

Hello @jana-dark-core, I am a member of the Discourse team. I can see that there was a new response to your question. Do you find it helpful or should the question remain open?

Thanks ahead for your feedback and have a nice rest of the day!

HI @malcolm-silver-ice,
thanks for your suggestions! I’m not sure we really can apply the modelling solution in this case, but I could not try it out yet. Unfortunately, the A12 Update to 2024.06 for our customer solution got postponed because it is blocking us from delivering new urgent features. So we will be picking upt this topic once again in August/September