Aller au contenu principal
x
Paramètres de l'élément
Select Change
 
This is used as a descriptive label when displaying this webform element.
There is data for this element in the database. This setting can no longer be changed.
If set, this message will be used when an element's allowed number of values is exceeded, instead of the default "%name : cet élément ne peut pas contenir plus de @count valeurs." message.
Titre du bloc
Flux RSS
more fermé Confirmer Weight Operations
Dernier commentaire
AuthorTypeRéponses
The value for the initial option denoting no selection in a select element, which is used to determine whether the user submitted a value or not.
Sort the options by their (translated) labels.
nouveau
Remplacer l'élément select par une boîte de sélection Select2 utilisant jQuery.
Remplacer l'élément select par une boîte de sélection Choice.js.
Remplacer l'élément select par une boîte de sélection Chosen utilisant jQuery.
A short description of the element used as help for the user when they use the webform.
Displays a Help tooltip after the element's title.
The text displayed in Help tooltip after the element's title.Defaults to the element's title
The text displayed in Help tooltip after the element's title.
Displays a read more hide/show widget below the element's description.
The click-able label used to open and close more text.Par défaut : More
A long description of the element that provides form additional information which can opened and closed.
Détermine l'emplacement du titre.
Determines the placement of the description.
Determines the placement of the Help tooltip.
Text or code that is placed directly in front of the input. This can be used to prefix an input with a constant string. Examples: $, #, -.
Text or code that is placed directly after the input. This can be used to add a unit to an input. Examples: lb, kg, %.
Spécifie le nombre d'options visibles.
The placeholder will be shown in the element until the user starts entering a value.
Make this element non-editable with the user entered (e.g. via developer tools) value ignored. Useful for displaying default value. Changeable via JavaScript.
Allow element to be populated using query string parameters.
Cochez cette option si l'utilisateur doit entrer une valeur.
If set, this message will be used when a required webform element is empty, instead of the default "Field x is required." message.
Check that all entered values for this element are unique.
Check that entered values for this element is unique for the current source entity.
Check that entered values for this element are unique for the current user.
If set, this message will be used when an element's value are not unique, instead of the default "La valeur %value a déjà été soumise pour l'élément %name. Vous avez peut-être déjà soumis ce webform, ou vous devez utiliser une valeur différente." message.
Logique conditionnelle
State Élément Trigger/Value Operations
si of the following is met:
Enter a number range (1:100)
When this element is hidden, this element's value will be cleared.
The default value of the webform element. For multiple options, use commas to separate multiple defaults. Groupe
Classes CSS de Enveloppe (wrapper)
Apply classes to the element's wrapper around both the field and its label. Select 'custom…' to enter custom classes.
Appliquer des styles personnalisés à l'enveloppe de l'élément, englobant le champ et son étiquette.
Enter additional attributes to be added to the element's wrapper.
Classes CSS de Élément
Apply classes to the élément. Select 'custom…' to enter custom classes.
Appliquer les styles personnalisés au élément.
Saisir les attributs supplémentaires à ajouter au élément.
Apply classes to the element's label.
Apply custom styles to the element's label.
Enter additional attributes to be added to the element's label.
Élément individuel
Sélectionner comment une valeur unique est affichée.
The HTML to display for a single element value. You may include HTML or Twig. You may enter data from the submission as per the "variables" below.
The text to display for a single element value. You may include Twig. You may enter data from the submission as per the "variables" below.

En savoir plus sur Twig et comment il est utilisé dans Drupal.

Les variables suivantes sont disponibles :

  • {{ value }}
  • {{ item.value }}
  • {{ item.raw }}
  • {{ data.element_key }}
  • {{ data['element_key'] }}
  • {{ data.element_key.delta }}
  • {{ data['element_key']['delta'] }}
  • {{ data.composite_element_key.subelement_key }}
  • {{ data.composite_element_key.delta.subelement_key }}
  • {{ original_data }}
  • {{ elements }}
  • {{ elements_flattened }}
  • {{ serial }}
  • {{ sid }}
  • {{ uuid }}
  • {{ token }}
  • {{ uri }}
  • {{ created }}
  • {{ completed }}
  • {{ changed }}
  • {{ in_draft }}
  • {{ current_page }}
  • {{ remote_addr }}
  • {{ uid }}
  • {{ langcode }}
  • {{ webform_id }}
  • {{ entity_type }}
  • {{ entity_id }}
  • {{ locked }}
  • {{ sticky }}
  • {{ notes }}
  • {{ webform }}
  • {{ webform_submission }}

Vous pouvez également rendre les jetons en utilisant la fonction webform_token().

{{ webform_token('[webform_submission:values:element_value]', webform_submission, [], options) }}

You can debug data using the webform_debug() function.

{{ webform_debug(data) }}
Éléments multiples
Select how multiple values are displayed.
The HTML to display for multiple element values. You may include HTML or Twig. You may enter data from the submission as per the "variables" below.
The text to display for multiple element values. You may include Twig. You may enter data from the submission as per the "variables" below.

En savoir plus sur Twig et comment il est utilisé dans Drupal.

Les variables suivantes sont disponibles :

  • {{ value }}
  • {{ items }}
  • {{ data.element_key }}
  • {{ data['element_key'] }}
  • {{ data.element_key.delta }}
  • {{ data['element_key']['delta'] }}
  • {{ data.composite_element_key.subelement_key }}
  • {{ data.composite_element_key.delta.subelement_key }}
  • {{ original_data }}
  • {{ elements }}
  • {{ elements_flattened }}
  • {{ serial }}
  • {{ sid }}
  • {{ uuid }}
  • {{ token }}
  • {{ uri }}
  • {{ created }}
  • {{ completed }}
  • {{ changed }}
  • {{ in_draft }}
  • {{ current_page }}
  • {{ remote_addr }}
  • {{ uid }}
  • {{ langcode }}
  • {{ webform_id }}
  • {{ entity_type }}
  • {{ entity_id }}
  • {{ locked }}
  • {{ sticky }}
  • {{ notes }}
  • {{ webform }}
  • {{ webform_submission }}

Vous pouvez également rendre les jetons en utilisant la fonction webform_token().

{{ webform_token('[webform_submission:values:element_value]', webform_submission, [], options) }}

You can debug data using the webform_debug() function.

{{ webform_debug(data) }}
Classes CSS de Display
Apply classes to the element's display wrapper. Select 'custom…' to enter custom classes.
Apply custom styles to the element's display wrapper.
Enter additional attributes to be added to the element's display wrapper.
The admin title will always be displayed when managing elements and viewing & downloading submissions.If an element's title is hidden, the element's admin title will be displayed when viewing a submission.
Admin notes/comments are display next to the element title in the form builder and visible in the form's YAML source
Private elements are shown only to users with results access.
Create submission
Select roles and users that should be able to populate this element when creating a new submission.
Roles
Select roles and users that should be able to update this element when updating an existing submission.
Roles
Select roles and users that should be able to view this element when viewing a submission.
Roles
If unchecked, the element is never displayed. The element will only be visible within the form builder and hidden from all other displays including submission details, results, and download.