<formdef id="441">
  <name>Formulaire exemple - "pr&#233;visualiser un courriel"</name>
  <url_name>formulaire-exemple-previsualiser-un-courriel</url_name>
  <documentation>&lt;p&gt;Ce formulaire coupl&#233; au WF "WF exemple "pr&#233;visualiser un courriel"" sert &#224; tester la fonctionnalit&#233; de pr&#233;visualisation d'un courriel avant son envoi.&lt;/p&gt;</documentation>
  <submission_user_association>any</submission_user_association>
  <history_pane_default_mode>expanded</history_pane_default_mode>
  <discussion>false</discussion>
  <detailed_emails>true</detailed_emails>
  <disabled>false</disabled>
  <hidden>false</hidden>
  <only_allow_one>false</only_allow_one>
  <enable_tracking_codes>false</enable_tracking_codes>
  <confirmation>false</confirmation>
  <always_advertise>false</always_advertise>
  <has_captcha>false</has_captcha>
  <skip_from_360_view>false</skip_from_360_view>
  <workflow slug="wf-exemple-previsualiser-un-courriel" workflow_id="442">WF exemple "pr&#233;visualiser un courriel"</workflow>
  <fields>
    <field>
      <type>string</type>
      <label type="str">Pr&#233;nom</label>
      <required type="str">required</required>
      <varname type="str">prenom</varname>
      <display_locations>
        <item>validation</item>
        <item>summary</item>
      </display_locations>
      <extra_css_class type="str">newline grid-1-2</extra_css_class>
      <prefill>
        <locked>False</locked>
        <locked-unless-empty>False</locked-unless-empty>
        <type>user</type>
        <value>_first_name</value>
      </prefill>
      <anonymise type="str">final</anonymise>
      <id type="str">1</id>
    </field>
    <field>
      <type>string</type>
      <label type="str">Nom</label>
      <required type="str">required</required>
      <varname type="str">nom</varname>
      <display_locations>
        <item>validation</item>
        <item>summary</item>
      </display_locations>
      <extra_css_class type="str">grid-1-2</extra_css_class>
      <prefill>
        <type>user</type>
        <value>_last_name</value>
      </prefill>
      <anonymise type="str">final</anonymise>
      <id type="str">2</id>
    </field>
    <field>
      <type>comment</type>
      <label type="str">Indiquez-nous comment vous joindre</label>
      <display_locations />
      <id type="str">8</id>
    </field>
    <field>
      <type>email</type>
      <label type="str">Adresse courriel</label>
      <required type="str">required</required>
      <varname type="str">courriel</varname>
      <display_locations>
        <item>validation</item>
        <item>summary</item>
      </display_locations>
      <extra_css_class type="str">newline grid-1-2</extra_css_class>
      <prefill>
        <type>user</type>
        <value>_email</value>
      </prefill>
      <anonymise type="str">final</anonymise>
      <id type="str">6</id>
    </field>
    <field>
      <type>string</type>
      <label type="str">T&#233;l&#233;phone</label>
      <required type="str">optional</required>
      <varname type="str">telephone</varname>
      <display_locations>
        <item>validation</item>
        <item>summary</item>
      </display_locations>
      <extra_css_class type="str">grid-1-2</extra_css_class>
      <prefill>
        <type>string</type>
        <value>{% firstof session_user_var_mobile session_user_var_phone %}</value>
      </prefill>
      <anonymise type="str">final</anonymise>
      <id type="str">7</id>
    </field>
    <field>
      <type>item</type>
      <label type="str">Votre demande concerne</label>
      <required type="str">required</required>
      <hint type="str">&lt;p&gt;--&lt;/p&gt;</hint>
      <varname type="str">motif</varname>
      <display_locations>
        <item>validation</item>
        <item>summary</item>
        <item>listings</item>
        <item>statistics</item>
      </display_locations>
      <extra_css_class type="str">newline grid-1-2</extra_css_class>
      <anonymise type="str">no</anonymise>
      <display_mode type="str">autocomplete</display_mode>
      <items>
        <item>Vie &#233;conomique</item>
        <item>Etat-civil - population</item>
        <item>Logement</item>
        <item>Culture &amp; sport</item>
        <item>Urbanisme</item>
      </items>
      <in_filters type="bool">False</in_filters>
      <display_disabled_items type="bool">False</display_disabled_items>
      <use_hint_as_first_option type="bool">True</use_hint_as_first_option>
      <image_desktop_size type="str">150</image_desktop_size>
      <image_mobile_size type="str">75</image_mobile_size>
      <radio_orientation type="str">auto</radio_orientation>
      <id type="str">9</id>
    </field>
    <field>
      <type>text</type>
      <label type="str">Votre demande</label>
      <required type="str">required</required>
      <varname type="str">motif_precisions</varname>
      <display_locations>
        <item>validation</item>
        <item>summary</item>
      </display_locations>
      <extra_css_class type="str">newline grid-1-2</extra_css_class>
      <prefill>
        <type>none</type>
      </prefill>
      <anonymise type="str">final</anonymise>
      <rows type="str">7</rows>
      <display_mode type="str">plain</display_mode>
      <id type="str">10</id>
    </field>
  </fields>
  <roles />
  <options />
  <custom_views />
  <geolocations />
  <management_sidebar_items>
    <item>__default__</item>
  </management_sidebar_items>
  <submission_sidebar_items>
    <item>__default__</item>
  </submission_sidebar_items>
  <digest_templates>
    <template key="default">{{ form_var_motif }}</template>
  </digest_templates>
  <workflow-migrations>
    <migration old-workflow="workflow-generique" new-workflow="test-dt" timestamp="2025-03-10T11:30:29.785037+01:00">
      <timestamp>2025-03-10T11:30:29.785037+01:00</timestamp>
      <status-mapping>
        <map old="just_submitted" new="2" />
        <map old="new" new="2" />
        <map old="0" new="2" />
        <map old="accepted" new="2" />
        <map old="finished" new="2" />
        <map old="rejected" new="2" />
      </status-mapping>
    </migration>
    <migration old-workflow="test-dt" new-workflow="_default" timestamp="2025-04-08T09:41:02.989387+02:00">
      <timestamp>2025-04-08T09:41:02.989387+02:00</timestamp>
      <status-mapping>
        <map old="1" new="just_submitted" />
        <map old="2" new="finished" />
      </status-mapping>
    </migration>
    <migration old-workflow="_default" new-workflow="crea-user" timestamp="2025-04-09T16:27:02.389261+02:00">
      <timestamp>2025-04-09T16:27:02.389261+02:00</timestamp>
      <status-mapping>
        <map old="just_submitted" new="2" />
        <map old="new" new="2" />
        <map old="rejected" new="2" />
        <map old="accepted" new="2" />
        <map old="finished" new="2" />
      </status-mapping>
    </migration>
    <migration old-workflow="crea-user" new-workflow="envoyer-un-notif" timestamp="2025-12-08T08:22:07.725766+01:00">
      <timestamp>2025-12-08T08:22:07.725766+01:00</timestamp>
      <status-mapping>
        <map old="1" new="1" />
        <map old="2" new="2" />
      </status-mapping>
    </migration>
    <migration old-workflow="envoyer-un-notif" new-workflow="action-globale-interactive" timestamp="2026-06-03T10:01:15.966275+02:00">
      <timestamp>2026-06-03T10:01:15.966275+02:00</timestamp>
      <status-mapping>
        <map old="1" new="just_submitted" />
        <map old="2" new="finished" />
      </status-mapping>
    </migration>
    <migration old-workflow="action-globale-interactive" new-workflow="bouton-d-action" timestamp="2026-09-03T17:04:12.697936+02:00">
      <timestamp>2026-09-03T17:04:12.697936+02:00</timestamp>
      <status-mapping>
        <map old="just_submitted" new="1" />
        <map old="new" new="1" />
        <map old="rejected" new="2" />
        <map old="accepted" new="2" />
        <map old="finished" new="2" />
        <map old="0" new="2" />
      </status-mapping>
    </migration>
    <migration old-workflow="bouton-d-action" new-workflow="wf-exemple-previsualiser-un-courriel" timestamp="2026-09-16T14:34:18.413996+02:00">
      <timestamp>2026-09-16T14:34:18.413996+02:00</timestamp>
      <status-mapping />
    </migration>
  </workflow-migrations>
</formdef>