rougail/tests/dictionaries/10load_mandatoryifnotin_noexist/00-base.xml

31 lines
995 B
XML
Raw Normal View History

2021-04-13 11:07:10 +02: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="condition" type="string" description="No change">
<value>tous</value>
</variable>
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
<value>non</value>
</variable>
<variable name="mode_conteneur_actif2" type="string" description="No change" hidden="True">
<value>non</value>
</variable>
</family>
</variables>
<constraints>
<check name="valid_enum">
<param>tous</param>
<param>authentifié</param>
<param>aucun</param>
<target>condition</target>
</check>
<condition name="mandatory_if_not_in" source="condition">
<param>oui</param>
<param>non</param>
<target type="variable">mode_conteneur_actif</target>
<target type="variable">mode_conteneur_actif2</target>
</condition>
</constraints>
2020-12-26 15:15:51 +01:00
</rougail>