Element settings
Document file
 
This is used as a descriptive label when displaying this webform element.
File settings
File upload destination
Select where the final files should be stored. Private file storage has more overhead than public files, but allows restricted access to files within this element.
Determines the placement of the file upload help .
The placeholder will be shown before a file is uploaded.
Select how the uploaded file previewed.Allowing anonymous users to preview files is dangerous.For more information see: DRUPAL-PSA-2016-003
MB (Max: 256 MB)
Enter the max file size a user may upload.
Separate extensions with a space or comma and do not include the leading dot.Defaults to: txt rtf pdf doc docx odt ppt pptx odp xls xlsx ods
Rename uploaded files to this tokenized pattern. Do not include the extension here. The actual file extension will be automatically appended to this pattern.
File names combined with their full URI can not exceed 255 characters. File names that exceed this limit will be truncated.
If checked, file name will be transliterated, lower-cased and all special characters converted to dashes (-).
If checked the file upload input will be replaced with click-able label styled as button.
Defaults to: Choose file
Apply classes to the button. Button classes default to 'button button-primary'.
Apply custom styles to the button.
Enter additional attributes to be added the button.
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.Defaults to: Devamı
A long description of the element that provides form additional information which can opened and closed.
Determines the placement of the title.
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.
Check this option if the user must enter a value.
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 "The value %value has already been submitted once for the %name element. You may have already submitted this webform, or you need to use a different value." message.
Conditional logic
StateElementTrigger/ValueOperations
if of the following is met:
Enter a number range (1:100)
if of the following is met:
Enter a number range (1:100)
if of the following is met:
Enter a number range (1:100)
When this element is hidden, this element's value will be cleared.
Wrapper CSS classes
Apply classes to the element's wrapper around both the field and its label. Select 'custom…' to enter custom classes.
Apply custom styles to the element's wrapper around both the field and its label.
Enter additional attributes to be added to the element's wrapper.
Element CSS classes
Apply classes to the element. Select 'custom…' to enter custom classes.
Apply custom styles to the element.
Enter additional attributes to be added the element.
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.
Single item
Select how a single value is displayed.
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.

Learn about Twig and how it is used in Drupal.

The following variables are available:

  • {{ value }}
  • {{ item.value }}
  • {{ item.raw }}
  • {{ item.file }}
  • {{ item.link }}
  • {{ item.url }}
  • {{ item.name }}
  • {{ item.basename }}
  • {{ item.id }}
  • {{ item.mime }}
  • {{ item.size }}
  • {{ item.data }}
  • {{ item.extension }}
  • {{ 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 }}

You can also output tokens using the webform_token() function.

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

You can debug data using the webform_debug() function.

{{ webform_debug(data) }}
Multiple items
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.

Learn about Twig and how it is used in Drupal.

The following variables are available:

  • {{ 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 }}

You can also output tokens using the webform_token() function.

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

You can debug data using the webform_debug() function.

{{ webform_debug(data) }}
Display CSS classes
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.
Properties do not have to be prepended with a hash (#) character, the hash character will be automatically added to the custom properties.These properties and callbacks are not allowed: #allowed_tags, #tree, #array_parents, #parents, #weight, #access_callback, #ajax, #after_build, #element_validate, #lazy_builder, #post_render, #pre_render, #process, #submit, #validate, #value_callback, #file_value_callbacks, #date_date_callbacks, #date_time_callbacks, and #captcha_validate
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.