PHPackages                             terminal42/contao-conditionalformfields - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. terminal42/contao-conditionalformfields

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

terminal42/contao-conditionalformfields
=======================================

conditionalformfields extension for Contao Open Source CMS; Display form fields based on conditionis!

3.1.3(1y ago)2168.5k—2.6%11[4 issues](https://github.com/terminal42/contao-conditionalformfields/issues)1MITPHPPHP ^7.4 || ^8.0

Since Sep 9Pushed 1y ago5 watchersCompare

[ Source](https://github.com/terminal42/contao-conditionalformfields)[ Packagist](https://packagist.org/packages/terminal42/contao-conditionalformfields)[ GitHub Sponsors](https://github.com/terminal42)[ Fund](https://ko-fi.com/terminal42)[ RSS](/packages/terminal42-contao-conditionalformfields/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (44)Used By (1)

contao-conditionalformfields
============================

[](#contao-conditionalformfields)

Allows you to display a form field based on a condition which allows you to do something like "only display the field when value of field 'foo' is 'bar' and 'bla' is 'yes'".

The condition is not entered directly at the form field, but a field set with start and end must be created. The condition can be entered in the start of field set. The field set can also be used to control several form fields in the view.

```
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'

```

### Note for Version 3

[](#note-for-version-3)

The field names had a prefix `$` until version 3 - this is no longer necessary. When updating to version 3, the conditions are automatically adjusted.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~90 days

Recently: every ~149 days

Total

43

Last Release

488d ago

Major Versions

1.0.1 → 2.0.02015-05-19

2.3.4 → 3.0.02022-05-23

PHP version history (3 changes)1.0.0PHP &gt;=5.3.2

2.3.4PHP ^5.3.2 || ^7.0 || ^8.0

3.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1073273?v=4)[Andreas Schempp](/maintainers/aschempp)[@aschempp](https://github.com/aschempp)

![](https://avatars.githubusercontent.com/u/481937?v=4)[Yanick Witschi](/maintainers/Toflar)[@Toflar](https://github.com/Toflar)

---

Top Contributors

[![aschempp](https://avatars.githubusercontent.com/u/1073273?v=4)](https://github.com/aschempp "aschempp (53 commits)")[![Toflar](https://avatars.githubusercontent.com/u/481937?v=4)](https://github.com/Toflar "Toflar (50 commits)")[![qzminski](https://avatars.githubusercontent.com/u/193483?v=4)](https://github.com/qzminski "qzminski (26 commits)")[![richardhj](https://avatars.githubusercontent.com/u/1284725?v=4)](https://github.com/richardhj "richardhj (7 commits)")[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (6 commits)")[![zonky2](https://avatars.githubusercontent.com/u/1045318?v=4)](https://github.com/zonky2 "zonky2 (3 commits)")[![fiedsch](https://avatars.githubusercontent.com/u/5047601?v=4)](https://github.com/fiedsch "fiedsch (1 commits)")[![dmolineus](https://avatars.githubusercontent.com/u/1186266?v=4)](https://github.com/dmolineus "dmolineus (1 commits)")[![cgoIT](https://avatars.githubusercontent.com/u/8972203?v=4)](https://github.com/cgoIT "cgoIT (1 commits)")[![asaage](https://avatars.githubusercontent.com/u/4138336?v=4)](https://github.com/asaage "asaage (1 commits)")

---

Tags

contaoformfieldsconditions

### Embed Badge

![Health badge](/badges/terminal42-contao-conditionalformfields/health.svg)

```
[![Health](https://phpackages.com/badges/terminal42-contao-conditionalformfields/health.svg)](https://phpackages.com/packages/terminal42-contao-conditionalformfields)
```

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[terminal42/contao-leads

Leads extension for Contao Open Source CMS; Store and manage form data with ease!

41167.9k10](/packages/terminal42-contao-leads)[inspiredminds/contao-fieldset-duplication

Contao extension to allow the duplication of form fieldsets in the front end by the user for additional input fields.

158.2k1](/packages/inspiredminds-contao-fieldset-duplication)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18147.9k9](/packages/terminal42-contao-folderpage)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
