Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Download webform-8.x-5.0-rc13.tar.gztar.gz
5.22 MB
MD5: ff7a56181a93633fcf3dc9cd93995caa
SHA-1: c7af57daf309460d91e4ea3ce14bff36b9e8bf8f
SHA-256: 3cf0e313bed9e5fe04c74b9e3f493f8c540570eee8a04d171557ffabd3e3d8a2
Download webform-8.x-5.0-rc13.zipzip
6.06 MB
MD5: 4c19199d432c0058fbb654e6e0cd0ab9
SHA-1: 1992a47fd15937121bcc233b01b0d672d9219482
SHA-256: 460da1da5aa66b518a61e092c1ff027127f76287bbfd9dbe41f3c5e3377a24a0
Release notes
Change records:
- Multiple elements, including custom composites, can now have no items
- Webforms can now be archived
- A webform's initial status is now configurable globally and when a webform is created or duplicated.
- Reset button now works on webforms after a draft was loaded
- Container element's children are no longer appended to rendered array
- Previously saved submission(s) messages are now customizable
- Webform can be opened in modal dialogs using links with the .webform-dialog class
- Webform field link formatter now supports dialogs and custom classes, style, and attributes
- Elements with multiple values can now have customized 'Add' and 'more items' labels
- Webform related dynamic tokens can be cleared using the :clear suffix
- Webform submission in_draft state no longer stored in $form_state->getValue('in_draft')
- Webform submission value tokens support url encoding
- Image file upload element now supports max and min resolution
- The [webform-authenticated-user] token has been removed.
- The Webform 'Plugin' section was moved from the Webform 'Admin' section to the 'Reports' section.
Changes since 8.x-5.0-rc12:
- #2976949 by jrockowitz, No Sssweat: Send E-mail to webform creator
- #2976838 by alberto56, jrockowitz: Tokens in the format [webform_submission:xyz] are displayed as [xyz] in the handler summary, which can lead to confusion
- #2976686 by jrockowitz: Prevent help text from being autofocused in dialog
- #2974426 by jrockowitz, Primsi, Berdir: Add support for a source-entity-owner or similar token
- #2974426 by jrockowitz, Primsi: Add support for a source-entity-owner or similar token
- #2976688 by jrockowitz: HTML element does not support #attributes
- #2976510 by jrockowitz: Undefined index: in _template_preprocess_webform_progress()
- #2969037 by jrockowitz, idebr: Replace local action in WebformEntityListBuilder::render with a LocalAction plugin
- #2957292 by jrockowitz: Multiple Custom Composites cant be truly optional
- #2966507 by jrockowitz, andileco: Start-to-finish documentation for showing Webforms in modals
- #2975630 by jrockowitz: Add support for #label_attributes
- #2975533 by jrockowitz: Do not trigger file upload event when element is hidden or shown via #states API
- #2975304 by jrockowitz: Update generated webform tests
- #2975265 by jrockowitz: After running drush webform:composer:update, notify the dev to run "composer update --lock" instead of "composer update"
- #2974999 by jrockowitz, danbohea: Error viewing webform: Call to a member function getWebform() on null in _webform_theme_suggestions()
- #2975125 by jrockowitz: Maximum character count ignored on the 'test' tab
- #2974340 by jrockowitz: Change numeric WebformMessageManagerInterface constants to strings
- #2932893 by jrockowitz: Filter out closed forms in webform field
- #2974597 by jrockowitz: Enable default publishing status of new webforms
- #2954893 by jrockowitz: Allow token link tree to support conditional logic
- #2890618 by clemens.tolboom, jrockowitz, Ericmaster, oschuetze: Rewritten view output is not used for "Entity Select" field
- #2974166 by jrockowitz, ardnet: Conditional Confirmation URL
- #2947879 by optimusprime619, jrockowitz: Re-enable #click-insert for token tree generation to be used in element forms
- #2974367 by jrockowitz: Provide drush command to update exported webform configuration files
- Revert "Issue #2974367 by jrockowitz: Provide drush command to update exported webform configuration files"
- #2974442 by Alan-H: Element description position overridden by Bootstrap
- #2974166 by jrockowitz: Conditional Confirmation URL
- #2974403 by jrockowitz: Add delay to jQueryUI tooltip (aka help)
- #2973229 by jrockowitz: Reset does not work on draft submissions
- #2973920 by jrockowitz: Element with 'title' key is missing from text email when nested inside details element
- #2973951 by jrockowitz: Unrouted URLs cannot have have overridden query or fragments
- #2971848 by jrockowitz: [8.6.x] Details elements allow specifying attributes for the element
- #2959089 by jrockowitz: Query ?desination=/MY_PERSONAL_VIEW
- #2973559: Does Human Presense support the Webform module?
- #2973538: Move WebformSubmissionForm* test to src/Tests/Settings
- #2973377 by jrockowitz: Make the previously saved messages customizable
- #2968524 by jrockowitz: Allow handler conditions to be use "value" fields
- #2973218 by jrockowitz: Warning when Reset Button is clicked
- #2973063 by jrockowitz, dscl: Date elements w/ data format on Custom Composite lose the data on multipage webforms
- #2973121 by ainarend: Adds a title attribute to the progress tracker
- #2971821 by jrockowitz, Alisson Silva: My autocomplete text-field doesnt't work anymore
- #2973226 by ainarend: Element's Disabled & Readonly options are confusing
- #2972498 by alberto56: Submission log: How to track which update was made:
- #2950142 by adriancid, jrockowitz: Inject properly the services inside the WebformEntityReferenceFormatterBase class
- #2959135 by jrockowitz, vierlex, drupallerina: "Expand All" has unnecessary class .link
- #2963535 by jrockowitz, Akshay kashyap, Marishka_, Prashant.c, mpotter: HTML validation errors on required fieldsets
- #2900489 by jrockowitz, dscl: Location field selects a random address when clicking an autocomplete suggestion
- #2959008 by jrockowitz, gotduss: Not able to add a new form element
- #2966507 by jrockowitz: Start-to-finish documentation for showing Webforms in modals
- #2965543 by jrockowitz, Kaz de Groot: Allow changing UI text for multiple fields
- #2971207 by jrockowitz: Hidden Field updated values not being captured on Submit
- #2972477 by jrockowitz: Change .webform-modal class to be more specific .webform-ui-dialog
- #2970785 by jrockowitz, Maheshwaran.j: Allow any webform token to be cleared using the :clear suffix
- #2972020 by pwilson, jrockowitz: WebformSubmission::postLoad Doesn't provide submitted data
- #2939412 by jrockowitz, bucefal91, Ice-D: Tokens not replaced on preview page
- #2972242 by jrockowitz, vaccinemedia: Cannot use the [webform_submission:values] token on advanced text elements
- #2972331 by jrockowitz: Computed token and twig elements don't work as expected via the 'Test' tab
- #2972348: Add LABEL tag to allowed HTML tags
- #2971801 by cecrs: Webform's devel logger needs to take care of its internal properties on serialization
- #2971316 by jrockowitz, Anas_maw: Modal confirmation message keeps appearing after refreshing the page
- #2971071 by jrockowitz: Call-time pass-by-reference prohibited since PHP 5.4
- #2971304 by jrockowitz: Deprecated service entity.manager needs to be replaced with entity_type.manager in WebformSubmissionForm
- #2971373 by jrockowitz: Only update webform.settings config when module with third party setting is uninstalled
- #2969491 by jrockowitz, rwam: Remote post handler failed because of »Unrecognized fields: metatag«
- #2969185 by jrockowitz, Maheshwaran.j: Prevent webform submission property names from being used a element keys
- #2969472 by jrockowitz: Add urlencode support to [webform-submission:value] tokens
- #2969185 by jrockowitz: Prevent webform submission property names from being used a element keys
- #2969200 by jrockowitz: Change 'Element/Selector' to 'Element' is conditional logic
- #2968002 by wouterdierick, vakulrai: Undefined indexes when rendering file upload elements
- #2968557 by jrockowitz: Image field dimensions restriction
- #2968554 by jrockowitz, mwebaze: Clear cache via the UI is throwing an exception
- #2962442 by jrockowitz, Prashant.c, miro_dietiker, andileco, Berdir: Remove [webform-authenticated-user] token and use [current-user] token with clear value option
- #2966638 by jrockowitz: Improve Computed Twig element validation to support complex calculations
- #2968144 by jrockowitz: drush webform-composer-update produces wrong replace section
- #2967972 by jrockowitz: Move Webform plugins page to 'Reports'
- #2966645 by jrockowitz: Improve help tooltip CSS / layotu