Aller au contenu principal

Secondary tabs

General
 
Un nom système. Ne peut contenir que des lettres minuscules, chiffres, et tirets bas.
A brief description present to the user when adding this element to a webform.
Instructions to present to the user below this element on the editing form.
Category
Gabarit
Type
Enter the absolute URL or root-relative path to the HTML/SVG file. The HTML/SVG file must be publicly accessible using http:// or https://.
The entire element with descriptions without the hash (#) prefixes is passed as variables to the Twig template.

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

Les variables suivantes sont disponibles :

  • {{ type }}
  • {{ title }}
  • {{ description }}
  • {{ help }}
  • {{ options }}
  • {{ options_custom }}
  • {{ descriptions }}
  • {{ default_value }}
  • {{ multiple }}
  • {{ attributes }}
  • {{ empty_option }}
  • {{ empty_value }}

You can debug data using the webform_debug() function.

{{ webform_debug(data) }}
Enter a comma-delimited list of attribute names. The first matched value attribute will be used for all custom option values .Leave blank if options values is populated using Twig.
Enter a comma-delimited list of attribute names. The first matched text attribute will be used for all custom option text. Leave blank if options text is populated using Twig.
If checked, inline fill styles will be removed and replaced using CSS.
If checked, SVG graphic can be panned and zooming using the svg-pan-zoom library
CSS/JS
Articles
more fermé Actions Weight Operations
Dernier commentaire
If checked, the select menu associated with the custom options element will be visible. Displaying the standard HTML select menu assists mobile users and users with disabilities when thy are selecting custom options.
If checked, option text and description will be displayed using a tooltip.
Intégration
If checked, this custom options element will be available when a user is adding elements to a webform.
If checked, this custom options element will be available for entity references when a user is adding elements to a webform.