PHPackages                             in2code/powermail\_cond - 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. in2code/powermail\_cond

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

in2code/powermail\_cond
=======================

Add conditions (via AJAX) to powermail forms for fields and pages

13.1.2(2mo ago)10530.6k↓11.5%31[1 issues](https://github.com/in2code-de/powermail_cond/issues)[3 PRs](https://github.com/in2code-de/powermail_cond/pulls)GPL-2.0-or-laterPHPPHP ^8.2CI passing

Since Apr 23Pushed 2mo ago12 watchersCompare

[ Source](https://github.com/in2code-de/powermail_cond)[ Packagist](https://packagist.org/packages/in2code/powermail_cond)[ Docs](https://github.com/in2code-de/powermail_cond)[ RSS](/packages/in2code-powermail-cond/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (50)Versions (55)Used By (0)

TYPO3 Extension powermail\_cond
===============================

[](#typo3-extension-powermail_cond)

Conditions for TYPO3 extension powermail. While a user fills out a form, some fields should disappear, while others should be visible.

Screenshots
-----------

[](#screenshots)

[![Example form with conditions](Documentation/Images/screenshot_powermail_cond_frontend.png "Example form with conditions")](Documentation/Images/screenshot_powermail_cond_frontend.png)

[![Backend view to records](Documentation/Images/screenshot_powermail_cond_backend_records.png "Backend view to records")](Documentation/Images/screenshot_powermail_cond_backend_records.png)

[![Backend view to records with rule](Documentation/Images/screenshot_powermail_cond_backend_records_conditionrule.png "Backend view to records with rule")](Documentation/Images/screenshot_powermail_cond_backend_records_conditionrule.png)

List of Conditions you can apply on the powermail form fields
-------------------------------------------------------------

[](#list-of-conditions-you-can-apply-on-the-powermail-form-fields)

- `is set`
- `is not set`
- `contains value`
- `contains value not`
- `is`
- `is not`
- `is greater than (numbers only)`
- `is less than (numbers only)`
- `contains value from field`
- `contains not value from field`

Quick installation
------------------

[](#quick-installation)

Quick guide:

- Just install this extension - e.g. `composer require in2code/powermail_cond`
- Clear caches
- Add a powermail form to any page
- Add a new record from type "condition container" to a sysfolder and configure it
- Don't forget to include the static template from powermail\_cond

Example routing configuration for TypeNum 3132:

```
...
rootPageId: 1
routes:
  -
    route: robots.txt
    type: staticText
    content: "Disallow: /typo3/\r\n"
routeEnhancers:
  PageTypeSuffix:
    type: PageType
    default: /
    index: ''
    suffix: /
    map:
      condition.json: 3132
...

```

### Extension Settings

[](#extension-settings)

**Condition container loop count**WARNING! Changing this setting can lead to breaking the front end for powermail cond forms. Only adjust this setting if you know what you are doing. Defines the number of loops that are run through when parsing the conditions. This is a safety measure to prevent infinite loops in the event of incorrect conditions. Default value conditionLoopCount = 100

Trouble shoot: upload fields
----------------------------

[](#trouble-shoot-upload-fields)

For being able to evaluate the conditions on the backend the form data gets sent as payload to the `conditions.json` route. In case of upload files (a.k.a `[type=file]`) the entire set of selected files are being uploaded with every change of basically every input field. This is resource and time consuming.

In case you don't rely on upload field within your set of conditions you can exclude them from being sent to the backend. To do so just specify add a parameter `data-powermail-cond-excluded-fields-selector` to the form template, e.g.

```

```

Local Development and Contribution
----------------------------------

[](#local-development-and-contribution)

There is a docker based local development environment available. See [Readme.md](Documentation/ForDevelopers/Readme.md) for more information.

Less flickering
---------------

[](#less-flickering)

To prevent the flickering that occurs when loading a form with conditions the usually asynchronously loaded "condition JSON" can be rendered directly into the HTML source code via this viewhelper in your copy of `EXT:powermail/Resources/Private/Templates/Form/Form.html`

```
{namespace pc=In2code\PowermailCond\ViewHelpers}
{pc:conditions(form:form) -> f:format.raw()}

    .powermail_fieldset {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s, visibility 0.5s;
    }

```

This way the initial asynchronous call will be skipped which reduces the flickering to a minimum.

Early Access Programm for TYPO3 14 support
------------------------------------------

[](#early-access-programm-for-typo3-14-support)

ℹ️ **TYPO3 14 compatibility**

> See [EAP page (DE)](https://www.in2code.de/agentur/typo3-extensions/early-access-programm/) or [EAP page (EN)](https://www.in2code.de/en/agency/typo3-extensions/early-access-program/) for more information how to get access to a TYPO3 14 version

Changelog
---------

[](#changelog)

VersionDateStateDescription13.1.12025-11-14BugfixMitigate a regression introduced in 13.0.313.1.02025-10-24FeatureIntroduce Condition container loop count13.0.32025-10-01BugfixFix race condition for ajax forms13.0.12025-XX-XXBugfixSome small bugfixes13.0.02024-12-02FeatureSupport for Powermail 13 / TYPO3 1311.2.42024-11-28BugfixPrevent the flickering that occurs when loading a form with conditions11.2.32024-09-20BugfixSome small bugfixes11.2.22024-10-16TASKAdjust autodeployment11.2.12024-10-16BugfixFix autodeployment11.2.02024-02-15FeatureMove public repository, adjust deployment, fix error in multivalue checkboxes11.1.02023-10-16FeatureSupport Powermail 11 &amp; 1211.0.02023-07-05FeatureSupport Powermail 1110.1.12023-03-23BugfixFix possible undefined array key error10.1.02023-03-14TaskSupport all kind of powermail fields as with jQuery before (e.g. submit, text, etc...)10.0.02022-10-10FeatureSupport for Powermail 10 and remove of jQuery support9.0.42022-10-10BugfixAllow multilanguage conditions9.0.32022-07-05BugfixFix ext\_emconf.php for TER upload via REST API (another change)9.0.22022-07-05BugfixFix ext\_emconf.php for TER upload via REST API9.0.12022-07-04BugfixFix page fieldset conditions not being applied correctly9.0.02022-02-23FeatureSupport for TYPO3 11 and Powermail 98.2.22021-11-22BugfixReverted type change for field condition.target\_field and updated index configuration for this field8.2.12021-11-22BugfixUse integer field for condition.target\_field8.2.02021-11-22TaskAdd mysql indices, hide children tables in list view, add code linting tests8.1.12021-08-04TaskSimplify TCA to also fix the start/endtime bug in TYPO3 (last regression)8.1.02021-03-18FeatureAdd TER autodeployment, add extension key to composer.json, small doc fix8.0.32020-04-30BugfixEnforce content-type in TypoScript8.0.22020-04-30BugfixAlso support checkboxes (array values) in powermail 88.0.12020-04-29TaskAdd useless dependency to TYPO3 for TER upload8.0.02020-04-29TaskUpdate extension for powermail 8 and TYPO3 10.47.0.02018-11-16TaskUpdate dependencies for powermail 76.1.02018-10-21TaskRemove deprecation warnings in TYPO3 9.56.0.02018-10-16TaskSupport powermail 6.15.0.02018-05-24TaskSupport powermail 6.04.1.12018-03-28BugfixPrevent exceptions in log4.1.02018-01-29TaskRemove dependencies for TYPO3 7.64.0.02018-01-15TaskUpdate dependencies for powermail 5.03.5.22017-12-05BugfixTurn of ConditionAwareValitor on fields without page relations3.5.12017-12-13BugfixPrevent exceptions in backend for MySQL strict mode3.5.02017-11-13TaskUpdate dependencies for powermail 4.x3.4.02017-08-14FeatureAllow all fieldtypes for target, add JS compression3.3.42017-07-25BugfixReduce unneeded calls in frontend3.3.32017-06-12BugfixSmall change for MySQL strict mode3.3.22017-05-20BugfixTCA update for TYPO3 8.73.3.12017-04-25BugfixFix package name in composer.json3.3.02017-04-23TaskMove ext to github, make it fit for TYPO3 8.7 LTSConflicts
---------

[](#conflicts)

- It's not possible to use powermail multistep forms with powermail\_cond

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance85

Actively maintained with recent releases

Popularity47

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 62.1% of commits — single point of failure

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 ~66 days

Recently: every ~41 days

Total

50

Last Release

65d ago

Major Versions

10.1.1 → 11.1.02023-10-16

11.2.4 → 13.0.02025-07-11

11.2.6 → 13.0.22025-08-21

11.2.7 → 13.1.02025-10-24

11.2.8 → 13.1.12025-11-14

PHP version history (3 changes)9.0.0PHP ^7.4 || ~8.0

11.1.0PHP ^8.1

13.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c7b0e95a86a09cd1d3f7a0089ae701ccbe840ae9d794def4ef1829ceae48d061?d=identicon)[in2code](/maintainers/in2code)

---

Top Contributors

[![einpraegsam](https://avatars.githubusercontent.com/u/89055?v=4)](https://github.com/einpraegsam "einpraegsam (264 commits)")[![vertexvaar](https://avatars.githubusercontent.com/u/5594393?v=4)](https://github.com/vertexvaar "vertexvaar (39 commits)")[![mschwemer](https://avatars.githubusercontent.com/u/103594?v=4)](https://github.com/mschwemer "mschwemer (33 commits)")[![sbusemann](https://avatars.githubusercontent.com/u/3660954?v=4)](https://github.com/sbusemann "sbusemann (23 commits)")[![tinzog](https://avatars.githubusercontent.com/u/11786742?v=4)](https://github.com/tinzog "tinzog (20 commits)")[![pixeldesu](https://avatars.githubusercontent.com/u/1774242?v=4)](https://github.com/pixeldesu "pixeldesu (17 commits)")[![KaffDaddy](https://avatars.githubusercontent.com/u/84124?v=4)](https://github.com/KaffDaddy "KaffDaddy (6 commits)")[![kitzberger](https://avatars.githubusercontent.com/u/1405149?v=4)](https://github.com/kitzberger "kitzberger (5 commits)")[![Patta](https://avatars.githubusercontent.com/u/2151127?v=4)](https://github.com/Patta "Patta (4 commits)")[![denislorch](https://avatars.githubusercontent.com/u/12167231?v=4)](https://github.com/denislorch "denislorch (2 commits)")[![garbast](https://avatars.githubusercontent.com/u/5036924?v=4)](https://github.com/garbast "garbast (2 commits)")[![luistha](https://avatars.githubusercontent.com/u/144234201?v=4)](https://github.com/luistha "luistha (1 commits)")[![christophlehmann](https://avatars.githubusercontent.com/u/4953689?v=4)](https://github.com/christophlehmann "christophlehmann (1 commits)")[![fnagel](https://avatars.githubusercontent.com/u/116824?v=4)](https://github.com/fnagel "fnagel (1 commits)")[![franzkugelmann](https://avatars.githubusercontent.com/u/11320147?v=4)](https://github.com/franzkugelmann "franzkugelmann (1 commits)")[![jonnsn](https://avatars.githubusercontent.com/u/575971?v=4)](https://github.com/jonnsn "jonnsn (1 commits)")[![christianfutterlieb](https://avatars.githubusercontent.com/u/195543?v=4)](https://github.com/christianfutterlieb "christianfutterlieb (1 commits)")[![MicrosoftAlternative](https://avatars.githubusercontent.com/u/44772801?v=4)](https://github.com/MicrosoftAlternative "MicrosoftAlternative (1 commits)")[![runepiper](https://avatars.githubusercontent.com/u/4521147?v=4)](https://github.com/runepiper "runepiper (1 commits)")[![schugabe](https://avatars.githubusercontent.com/u/138686?v=4)](https://github.com/schugabe "schugabe (1 commits)")

---

Tags

conditionspowermailtypo3typo3-cms-extensionformtypo3mailformspamprevention

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/in2code-powermail-cond/health.svg)

```
[![Health](https://phpackages.com/badges/in2code-powermail-cond/health.svg)](https://phpackages.com/packages/in2code-powermail-cond)
```

###  Alternatives

[in2code/powermail

Powermail is a well-known, editor-friendly, powerful and easy to use mailform extension for TYPO3 with a lots of features

982.5M38](/packages/in2code-powermail)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

39488.5k](/packages/wazum-sluggi)[jweiland/events2

Events 2 - Create single and recurring events

2062.4k2](/packages/jweiland-events2)[quellenform/t3x-iconpack

Provides an iconpack-registry for custom iconpacks.

1542.7k25](/packages/quellenform-t3x-iconpack)

PHPackages © 2026

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