This project is not covered by Drupal’s security advisory policy.
It's a fork of Conditional Fields module that works with any Drupal element.
Provides two render properties: #visible_when and #required_when.
Examples:
$form['source'] = [
'#title' => t('How did you hear about us'),
'#type' => 'select',
'#options' => [
'internet_search' => t('Internet search'),
'friend' => t('From a friend'),
'other' => t('Other, please specify below'),
],
];
$form['source_other'] = [
'#title' => t('Other source'),
'#type' => 'textfield',
'#visible_when' => [ // NEW PROPERTY
'source' => 'other',
],
];
Supporting organizations:
Initial development
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.No further development
No longer developed by its maintainers.4 sites report using this module
- Created by rafalenden on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
