guave / conditionalformfield-bundle
Conditional Form Field for Contao 5.0+
Installs: 60
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Type:contao-bundle
pkg:composer/guave/conditionalformfield-bundle
Requires
- php: ^8.1
- contao/core-bundle: ^5.0
- symfony/config: ^6.4 || ^7.4
- symfony/dependency-injection: ^6.4 || ^7.4
- symfony/http-kernel: ^6.4 || ^7.4
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.8
- contao/manager-plugin: ^2.3.1
- phpunit/phpunit: ^9.6
- roave/security-advisories: dev-latest
- symfony/phpunit-bridge: ^6.4 || ^7.4
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2026-01-22 06:59:54 UTC
README
This Repo is no longer maintained. Please use terminal42/contao-conditionalformfields
Conditional Form Field Bundle
This contao module allows you to set conditional fields in a for to hide or show based on a different field
Requirements
- Contao 5.0+
- PHP 8.1+
Install
$ composer require guave/conditionalformfield-bundle
Examples
only display the field when value of field 'foo' is 'bar' and 'bla' is 'yes'
$foo == 'bar' && $bla == 'yes'
You can also check the array (e.g. multiple checkboxes or select menu):
in_array('bar', $foo)
To validate a single checkbox simply compare its value:
$foo == '1'