Aller au contenu principal
x
Paramètres de l'élément
Pièce jointe PDF Change
 
This is used as a descriptive label when displaying this webform element.
Paramètres de fichiers attachés
Please enter the attachment's file name with a file extension. The file extension will be used to determine the attachment's content (mime) type.

Le nom du fichier doit comprendre l'extension *.pdf.

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

Les variables suivantes sont disponibles :

  • {{ 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) }}
Si la case est cochée, le nom du fichier sera translittéré, converti en minuscules et les caractères spéciaux seront remplacés par des tirets (-).
Si coché, la pièce jointe sera automatiquement téléchargée.
Détermine l'emplacement du titre.
Logique conditionnelle
State Élément Trigger/Value Operations
si of the following is met:
Enter a number range (1:100)
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.
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.
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.