This project is not covered by Drupal’s security advisory policy.
Provides a multi-value form element that wraps any number of form elements.
The wrapped elements will be repeated based on the cardinality specified on the wrapper.
It basically brings the delta cardinality concept of fields to form elements.
Each set of child elements ("delta") can be re-ordered with drag-and-drop.
$form['contacts'] = [
'#type' => 'multivalue',
'#title' => $this->t('Contacts'),
'#cardinality' => MultiValue::CARDINALITY_UNLIMITED,
'name' => [
'#type' => 'textfield',
'#title' => $this->t('Name'),
],
'mail' => [
'#type' => 'email',
'#title' => $this->t('E-mail'),
],
];
Supporting organizations:
Initial module development
Project information
3,068 sites report using this module
- Created by sardara on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.0-beta8
released 17 November 2025
Works with Drupal: ^10 || ^11
Fix test failures over Drupal 11.2.
Install:
Development version: 1.0.x-dev updated 17 Nov 2025 at 13:22 UTC


