PHPackages                             oveleon/contao-advanced-form - 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. oveleon/contao-advanced-form

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

oveleon/contao-advanced-form
============================

advanced-form extension for Contao Open Source CMS

0.4.0(1y ago)57175[1 issues](https://github.com/oveleon/contao-advanced-form/issues)AGPL-3.0PHPPHP ^8.0

Since Mar 10Pushed 6mo ago4 watchersCompare

[ Source](https://github.com/oveleon/contao-advanced-form)[ Packagist](https://packagist.org/packages/oveleon/contao-advanced-form)[ Docs](https://oveleon.de/)[ GitHub Sponsors](https://github.com/oveleon)[ RSS](/packages/oveleon-contao-advanced-form/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (8)Dependencies (4)Versions (13)Used By (0)

 [![](https://camo.githubusercontent.com/8d77c782b143958e94a77a4312dad7dc913d454c2830f8411c7253f4bcfd4efa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73706f6e736f72732f6f76656c656f6e3f6c6162656c3d53706f6e736f72266c6f676f3d47697448756226636f6c6f723d253233666538653836)](https://github.com/sponsors/oveleon)

Contao Advanced Form
====================

[](#contao-advanced-form)

*The contao advanced form bundle adds a new form-field (Formpage) to forms that can be used for multipage-forms with conditions*

 [![Oveleon](https://camo.githubusercontent.com/ae4739f9bd1dca46c671de2f22909d91b7f06e9b3bcf17054ba3a3cccb47e884/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f76656c656f6e2d6d61696e7461696e65642d3833616130653f6c6f676f3d646174613a696d6167652f706e673b6261736536342c6956424f5277304b47676f414141414e535568455567414141424d4141414155434159414141427656515a3041414141475852465748525462325a30643246795a5142425a4739695a53424a6257466e5a564a6c5957523563636c6c50414141412f7870564668305745314d4f6d4e76625335685a4739695a53353462584141414141414144772f654842685932746c644342695a576470626a30693737752f496942705a443069567a564e4d4531775132566f61556836636d5654656b355559337072597a6c6b496a382b494478344f6e68746347316c6447456765473173626e4d366544306959575276596d5536626e4d366257563059533869494867366547317764477339496b466b62324a6c4946684e5543424462334a6c494455754e69316a4d545131494463354c6a45324d7a51354f5377674d6a41784f4338774f4338784d7930784e6a6f304d446f794d6941674943416749434167496a346750484a6b5a6a70535245596765473173626e4d36636d526d50534a6f644852774f693876643364334c6e637a4c6d39795a7938784f546b354c7a41794c7a49794c584a6b5a69317a6557353059586774626e4d6a496a346750484a6b5a6a70455a584e6a636d6c7764476c76626942795a47593659574a76645851394969496765473173626e4d366547317754553039496d6830644841364c793975637935685a4739695a53356a62323076654746774c7a45754d43397462533869494868746247357a4f6e4e30556d566d50534a6f644852774f693876626e4d7559575276596d5575593239744c336868634338784c6a41766331523563475576556d567a62335679593256535a57596a4969423462577875637a703462584139496d6830644841364c793975637935685a4739695a53356a62323076654746774c7a45754d433869494868746247357a4f6d526a50534a6f644852774f6938766348567962433576636d63765a474d765a57786c6257567564484d764d5334784c794967654731775455303654334a705a326c755957784562324e316257567564456c4550534a3164576c6b4f6a56454d6a41344f5449304f544e43526b52434d5445354d5452424f4455354d45517a4d5455774f454d34496942346258424e5454704562324e316257567564456c4550534a34625841755a476c6b4f6a4d354d6a5a424e6a517a4d7a5a46516a4578525546424d546442516b4e46515441784e6a673252444934496942346258424e5454704a626e4e305957356a5a556c4550534a346258417561576c6b4f6a4d354d6a5a424e6a51794d7a5a46516a4578525546424d546442516b4e46515441784e6a673252444934496942346258413651334a6c59585276636c527662327739496b466b62324a6c49456c736248567a64484a686447397949454e544e69416f56326c755a47393363796b695069413865473177545530365247567961585a6c5a455a7962323067633352535a5759366157357a644746755932564a52443069645856705a44706c4d44686b5a44686d5a43316d4f5441344c545135597a497459574d775a4330304f474533595449344f4463325957456949484e30556d566d4f6d5276593356745a57353053555139496e68746343356b615751364f544132524468474f454e4552555178525467784d5467794d6a56424d7a424751304e424e6a4534525551694c7a34675047526a4f6e52706447786c50694138636d526d4f6b46736444346750484a6b5a6a70736153423462577736624746755a7a30696543316b5a575a6864577830496a354d62326476583239325a57786c62323566576d56705932686c626c3979656a7776636d526d4f6d7870506941384c334a6b5a6a70426248512b494477765a474d3664476c306247552b49447776636d526d4f6b526c63324e796158423061573975506941384c334a6b5a6a70535245592b4944777665447034625842745a585268506941385033687759574e725a5851675a57356b50534a79496a382b50386942545141414162464a52454655654e71553038737252464563422f42726f6d4747614a52484b5349615966496d374a52537376484979754d2f774d6f724e654566554d714b6e624b77553254427770535553575957466d5342444b576d57636777635832507672633548586675584c2f367a443250337a32507565646f75713572696c4734304a50784175556d655838347447546b7779587367684f5759516d4b6f46617a45787a5644584649674565617a6350563954436e7a47706c5269484d6c374b674357596768793976514161734d45666b54715161724a394a46577730596c684a4676327255763874644b694468546962306569485179684f73523278796a6c70304246354d42454c647236576f68452b2b58367261424f7a36507757436669434f4c7a444e38735247494359796664726742413851326b6d666e7a514a697267686c772b585a414e55513571466d4859353252392f396c5743586a4270625250636175624468744873526f4f754e317265414f2f31482f50707a666461717267677a4f4c4b37594644367a504d71654c396174306777575a754b61306933686b755a6631453674746571455a6e6d4352625a56777850494f6e335638336c6974616f677a6272507568444f497762795564387138536176424f706c30726e78524f61644675676b46566f4f4a417831683472524a7677396532623975334143725939454e415a61442f4c2f45306169484d626266516333763762467857416368717074484141714e334851724d304a637358466f687a7a65785750596b354e2b424267416978355679767a525a627741414141415355564f524b35435949493d)](https://www.oveleon.de) [![License](https://camo.githubusercontent.com/5c5ece229cbd8126452afa85c031307c503f6e1ac9d7dfc2c93d0f41a42b574f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4147504c76332d383361613065)](https://github.com/oveleon/contao-advanced-form) [![Packagist version](https://camo.githubusercontent.com/0c40d04f73dba518da1e01da7b66964c3e08189bec1b2cfda0974571b041f712/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f76656c656f6e2f636f6e74616f2d616476616e6365642d666f726d3f636f6c6f723d304137424243)](https://packagist.org/packages/oveleon/contao-advanced-form)

---

Support
-------

[](#support)

If you like this extension, we'd love your support in keeping the open-source spirit alive.

If you think this plugin is useful, please consider [sponsoring us](https://github.com/sponsors/oveleon) to help contribute to our time invested and to further development of this and other open source projects.

Your contributions, whether through `coding`, `testing`, `providing feedback`, or even a [donation](https://github.com/sponsors/oveleon), help ensure that we can continue offering free open source software. Join us in making a difference, and thank you for your support! - [Oveleon](https://www.oveleon.de).

[![](https://camo.githubusercontent.com/d2432db86e1cfca636933728a664bf886cff501efab549a0af6abab26fe8851b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d53706f6e736f72266d6573736167653d254532253944254134266c6f676f3d47697448756226636f6c6f723d253233666538653836)](https://github.com/sponsors/oveleon)

---

> Working with **Contao ^5.3**, install v.0.3 for legacy support (Contao 4.\*)

---

- [Features](#features)
- [How to install](#how-to-install-the-package)
- [How does contao advanced form work?](#how-does-contao-advanced-form-work)
- [Initial setup](#initial-setup)
- [Advanced setup for conditions](#advanced-setup-for-conditions)
- [Important Information](#important-information)
- [Options](#options)
- [License](#license)
- [Sponsoring](#sponsoring)

Features
--------

[](#features)

- Configurable formpage / pageswitch form-field with conditions for submitted values
- A Guest mode to show specific form pages for guests only
- Does not display form-pages when conditions are not met
- Sends all collected data on specific form page
- Compatible with all form-fields from contao

How to install the package
--------------------------

[](#how-to-install-the-package)

Install the package by using following command:

```
composer require oveleon/contao-advanced-form

```

After installing the contao-advanced-form-bundle, you should run a contao install to add the new fields.

The extension cannot be used or installed at the same time as [MP\_Forms from Terminal24](https://github.com/terminal42/contao-mp_forms)

How does contao advanced form work
----------------------------------

[](#how-does-contao-advanced-form-work)

Once the installation is complete, you will be able to use a new field type called "Formpage" within Contao Forms that does act as a divider for created form fields (i.e.: radio button menu, textarea, etc.).

The 'formpage' form-field acts as a page-switch and you will be redirected to it if the condition from previous submitted values is met.

Initial setup
-------------

[](#initial-setup)

1. Set up your form as usual and create your form-fields
2. Create 'formpage' fields between the form-fields that should be divided into pages

    [![Admin View: Advanced form overview](docs/advanced-form-overview.jpg)](docs/advanced-form-overview.jpg)
3. Add a 'submit button label' into your form-page
4. In case you want a button to get to your previous page, add a 'back button label' as well

Advanced setup for conditions
-----------------------------

[](#advanced-setup-for-conditions)

1. Follow the initial setup mentioned above
2. Create values that can be submitted (e.g. Radio button menu) above the form-page that should meet the condition

    [![Admin View: Advanced form overview](docs/advanced-form-radio-value.jpg)](docs/advanced-form-radio-value.jpg)
3. Activate the "Add condition" checkbox and write your condition into it

    [![Admin View: Advanced form overview](docs/advanced-form-page-switch.jpg)](docs/advanced-form-page-switch.jpg)

Important Information
---------------------

[](#important-information)

### Creating Form Pages

[](#creating-form-pages)

- The first form-page will always be divided by the first form-field and the first 'Formpage'-field.
- Following form-pages are created by wrapping them with 'Formpage'-fields.
- The last field in your form needs to be a 'Formpage'-field, otherwise it will show all form-fields (This is great to debug through your form).

### Conditions

[](#conditions)

> Conditions within page-switches (Formpages) will always work for the
>
> **FOLLOWING**
>
> form-fields up to the next page-switch (Formpage)

### Syntax

[](#syntax)

```
 ${Field name of radio button menu} == '{Value of radio button menu}'

```

A radio button menu with a field name of **'Example1'**, and a submitted value of **'Option1'** will jump to this page-switch (form-page).

```
 $Example1 == 'Option1'

```

You are able to set up complex conditions to show a certain form-page. The following PHP functions can be used within the condition:

- floatval
- strval
- intval
- in\_array
- str\_contains

If more functionality is needed, feel free to create a feature issue.

### Buttons

[](#buttons)

> The submit-button and back-button are set up for the
>
> **PREVIOUS**
>
> form-page. They will work for the form-fields above the page-switch (Formpage).

### Classes

[](#classes)

> Classes will always be set for the
>
> **PREVIOUS**
>
> form-page. They will work for the form-fields above the page-switch (Formpage).

### Protecting and hiding form-pages

[](#protecting-and-hiding-form-pages)

> Using the option *'protect form page'* and *'show to guests only'*, will always work for the
>
> **PREVIOUS**
>
> form-page. They will work for the form-fields above the page-switch (Formpage).

Options
-------

[](#options)

OptionDescription**Submit button label**This field will add a submit button to your form-page that can be named (Next page)**Back button label**This field will add a back button to your form-page that can be named (Previous page)**Add condition**This checkbox will activate conditions. Your conditions can be written into the text-field**Protect form page**Restricts the form page to certain member groups**Show to guests only**Hides the form page if a member is logged inLicense
-------

[](#license)

This project is licensed under the AGPL-3.0 License — check [LICENSE](LICENSE) for more details.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance53

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.8% 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 ~154 days

Recently: every ~276 days

Total

12

Last Release

187d ago

Major Versions

0.4.0 → 1.x-dev2025-11-05

PHP version history (4 changes)0.1.0PHP ^7.2

0.1.2PHP ^7.4 || ^8.0

0.4.0PHP ^8.0

1.x-devPHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![zoglo](https://avatars.githubusercontent.com/u/55794780?v=4)](https://github.com/zoglo "zoglo (51 commits)")[![doishub](https://avatars.githubusercontent.com/u/48379929?v=4)](https://github.com/doishub "doishub (13 commits)")[![eki89](https://avatars.githubusercontent.com/u/8254646?v=4)](https://github.com/eki89 "eki89 (4 commits)")[![zonky2](https://avatars.githubusercontent.com/u/1045318?v=4)](https://github.com/zonky2 "zonky2 (2 commits)")[![fiedsch](https://avatars.githubusercontent.com/u/5047601?v=4)](https://github.com/fiedsch "fiedsch (1 commits)")

---

Tags

contaocontao-bundleformcontaomultiFormsconditionmultipage

### Embed Badge

![Health badge](/badges/oveleon-contao-advanced-form/health.svg)

```
[![Health](https://phpackages.com/badges/oveleon-contao-advanced-form/health.svg)](https://phpackages.com/packages/oveleon-contao-advanced-form)
```

###  Alternatives

[terminal42/contao-mp_forms

An extension for Contao Open Source CMS to create multi steps forms using the form generator

2633.7k5](/packages/terminal42-contao-mp-forms)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

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

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

41167.9k10](/packages/terminal42-contao-leads)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[madeyourday/contao-rocksolid-custom-elements

Create your own, nestable content elements using a modular system. End the WYSIWYG chaos with your own content elements.

50341.9k12](/packages/madeyourday-contao-rocksolid-custom-elements)[mvo/contao-group-widget

Adds a new group widget that allows repeating a set of DCA fields.

28124.3k31](/packages/mvo-contao-group-widget)

PHPackages © 2026

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