Aller au contenu principal
x
Paramètres de l'élément
Adresse
 
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.
Paramètres de Adresse
Visible Étiquettes Paramètres
address
This is used as a descriptive label when displaying this webform element.
The placeholder will be shown in the element until the user starts entering a value.
A short description of the element used as help for the user when they use the webform.
A tooltip displayed after the title.
A tooltip displayed after the title.
Cochez cette option si l'utilisateur doit entrer une valeur.

Text field
address_2
This is used as a descriptive label when displaying this webform element.
The placeholder will be shown in the element until the user starts entering a value.
A short description of the element used as help for the user when they use the webform.
A tooltip displayed after the title.
A tooltip displayed after the title.
Cochez cette option si l'utilisateur doit entrer une valeur.

Text field
city
This is used as a descriptive label when displaying this webform element.
The placeholder will be shown in the element until the user starts entering a value.
A short description of the element used as help for the user when they use the webform.
A tooltip displayed after the title.
A tooltip displayed after the title.
Cochez cette option si l'utilisateur doit entrer une valeur.

Text field
state_province
This is used as a descriptive label when displaying this webform element.
The placeholder will be shown in the element until the user starts entering a value.
A short description of the element used as help for the user when they use the webform.
A tooltip displayed after the title.
A tooltip displayed after the title.
Cochez cette option si l'utilisateur doit entrer une valeur.

Le type d'élément à afficher.
Please select predefined options.
postal_code
This is used as a descriptive label when displaying this webform element.
The placeholder will be shown in the element until the user starts entering a value.
A short description of the element used as help for the user when they use the webform.
A tooltip displayed after the title.
A tooltip displayed after the title.
Cochez cette option si l'utilisateur doit entrer une valeur.

Text field
country
This is used as a descriptive label when displaying this webform element.
The placeholder will be shown in the element until the user starts entering a value.
A short description of the element used as help for the user when they use the webform.
A tooltip displayed after the title.
A tooltip displayed after the title.
Cochez cette option si l'utilisateur doit entrer une valeur.

Le type d'élément à afficher.
Please select predefined options.
If 'Automatic' is selected Flexbox layout will only be used if a 'Flexbox layout' element is included in the webform.
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, %.
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.
If checked, adds required indicator to the title, if visible. To required individual elements, also tick "Required" under the Adresse settings above.
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 composite webform element as YAML.
If checked, the composite sub-element titles will be displayed as the table header labels.
This is used as the table header for this webform element when displaying multiple values.
This is used by the add/remove (+/-) icons.
This is used when there are no items entered.
Minimum items defaults to 0 for optional elements and 1 for required elements.
If unchecked, the elements will no longer be sortable.
If unchecked, the add/remove (+/x) buttons will be removed from each table row.
If unchecked, the add button will be removed from each table row.
If unchecked, the remove button will be removed from each table row.
If checked, an add more input will be added below the multiple values.
If checked, users will be able to input the number of items to be added.
This is used as the add more items button label for this webform element when displaying multiple values.
This is used as the add more items input label for this webform element when displaying multiple values.
Groupe de champs: Wraps inputs in a fieldset. RecommandéÉlément de formulaire: Wraps inputs in a basic form element with title and description.Container: Wraps inputs in a basic div with no title or description.
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 }}
  • {{ element.address }}
  • {{ element.address_2 }}
  • {{ element.city }}
  • {{ element.state_province }}
  • {{ element.postal_code }}
  • {{ element.country }}
  • {{ item.value }}
  • {{ item.raw }}
  • {{ item.list }}
  • {{ 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.