HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/f/r/e/frenchy/www/french-american.org/repo/app/functions/acf-fields/form-contact.fields.php
<?php

if (function_exists('acf_add_local_field_group')) :

  acf_add_local_field_group(array(
    'key' => 'contactFormFields',
    'title' => 'Formulaire de contact',
    'fields' => array(
      array(
        'key' => 'objet_key',
        'label' => 'Objet de votre demande',
        'name' => 'objet',
        'type' => 'select',
        'required' => 1,
        'allow_null' => 1,
        'wrapper' => array(
          'id' => 'objet-wrapper',
        ),
        'choices' => array(
          'Young Leaders' => 'Young Leaders',
          'Young Talents' => 'Young Talents',
          'Cyber Security' => 'Cyber Security',
          'Health Initiative' => 'Health Initiative',
          'Culture' => 'Culture',
          'Gala' => 'Gala',
          'French-american Breakfast' => 'French-american Breakfast',
          'Autre' => 'Autre',
        ),
      ),
      array(
        'key' => 'prenom_key',
        'label' => 'Votre prénom',
        'name' => 'prenom',
        'type' => 'text',
        'required' => 1,
        'wrapper' => array(
          'id' => 'prenom-wrapper',
        ),
      ),
      array(
        'key' => 'nom_key',
        'label' => 'Votre nom',
        'name' => 'nom',
        'type' => 'text',
        'required' => 1,
        'wrapper' => array(
          'id' => 'nom-wrapper',
        ),
      ),
      array(
        'key' => 'adresse_email_key',
        'label' => 'Votre adresse email',
        'name' => 'adresse_email',
        'type' => 'email',
        'required' => 1,
        'wrapper' => array(
          'id' => 'email-wrapper',
        ),
      ),
      array(
        'key' => 'message_key',
        'label' => 'Message',
        'name' => 'message',
        'type' => 'textarea',
        'required' => 1,
        'wrapper' => array(
          'id' => 'message-wrapper',
        ),
      ),
    ),
    'location' => array(
      array(
        array(
          'param' => 'af_form',
          'operator' => '==',
          'value' => 'form_5d960090320ee',
        ),
      ),
    ),
  ));

endif;