rougail/tests/dictionaries/40ifin_validenum/00-base.xml

33 lines
1.1 KiB
XML
Raw Normal View History

2020-12-24 17:37:14 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
2021-04-13 11:07:10 +02:00
<variables>
<family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value>
</variable>
</family>
<family name="general2" hidden="True">
<variable name="mode_conteneur_actif2" type="string" description="No change">
<value>non</value>
</variable>
<variable name="mode_conteneur_actif3" type="string" description="No change"/>
</family>
</variables>
<constraints>
<check name="valid_enum">
<param>a</param>
<param>b</param>
<param>c</param>
<target>mode_conteneur_actif3</target>
</check>
<condition name="disabled_if_in" source="mode_conteneur_actif3">
<param>d</param>
<target type="variable">mode_conteneur_actif</target>
</condition>
<condition name="disabled_if_not_in" source="mode_conteneur_actif3">
<param>d</param>
<target type="variable">mode_conteneur_actif2</target>
</condition>
</constraints>
2020-12-24 17:37:14 +01:00
</rougail>