Set visibility rules in form model based on data field values from other DMs (bound by CDM)

We have multiple DocumentModels that we will link by relationsship/CDM.
Each DM has a form model. Some fields should be visible only for specific values of some other fields.

Some of these other fields are not in the same DM. Does this work via CDM?

Example

DM 1: ContractDM

  • Field Country of Employment (Enumeration Values GER, PRT, FR etc)
  • Field ContractType (Enumeration Values Employee, Intern …)

DM 2: ContractSalaryDM

  • Field Yearly Salary = should only be visible if GER and ContractType = Employee in the ContractDM

I want to avoid putting the fields Country of Employment etc in all additional DMs just to make the visibility rules work.

Cheers and thanks Sarah

Yes, in a CDM form you can use the usual form model dependencies that show/hide fields/groups based on other fields’ values.

That sounds like great news. Just to be on the save side, you mean that I can use the dependencies that show/hide based on other fields that are in a DIFFERENT DM, right? (For as long as the 2 DMs are linked by CDM).

Just to be on the save side, you mean that I can use the dependencies that show/hide based on other fields that are in a DIFFERENT DM, right? (For as long as the 2 DMs are linked by CDM).

Yes. That works in a form that is based on a CDM since in this case these fields are all part of the same DM - the (C)DM :wink:

That is perfect, thank you :grinning: