Download the PHP package oveleon/contao-advanced-form without Composer

On this page you can find all versions of the php package oveleon/contao-advanced-form. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package 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


Working with Contao 4.9 and up to Contao 4.13 (PHP ^7.4 and PHP 8) Cannot be installed together with MP_Forms from Terminal24


Features

How to install the package

Install the package by using following command:

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

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

  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

  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

  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

  3. Activate the "Add condition" checkbox and write your condition into it

    Admin View: Advanced form overview

Important Information

Creating Form Pages

Conditions

Conditions within page-switches (Formpages) will always work for the

FOLLOWING

form-fields up to the next page-switch (Formpage)

Syntax

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

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

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

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

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

Option Description
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 in

Support

We only provide support for bugs, and feature requests; please only post issues about these two topics.

If you need help implementing Contao Advanced Form or you are just starting out with Contao, please contact us on our website, visit the Contao Community or the Contao Slack, you will be able to find more help there.

This will help us to keep the issues related to this plugin and solve them faster.

License

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

Sponsoring

If you find this plugin useful, please consider sponsoring us to help contribute to our time invested and to further development of this and other open source projects. Thank you for your support! - Oveleon.


All versions of contao-advanced-form with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
contao/core-bundle Version ^4.9
codefog/contao-haste Version ~4.25
symfony/expression-language Version >=4.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package oveleon/contao-advanced-form contains the following files

Loading the files please wait ....