Download the PHP package infinityloop-dev/multistep-form without Composer
On this page you can find all versions of the php package infinityloop-dev/multistep-form. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download infinityloop-dev/multistep-form
More information about infinityloop-dev/multistep-form
Files in infinityloop-dev/multistep-form
Download infinityloop-dev/multistep-form
More information about infinityloop-dev/multistep-form
Files in infinityloop-dev/multistep-form
Vendor infinityloop-dev
Package multistep-form
Short Description Component for Nette framwork which helps with creation of multistep forms.
License MIT
Homepage https://www.infinityloop.dev/
Package multistep-form
Short Description Component for Nette framwork which helps with creation of multistep forms.
License MIT
Homepage https://www.infinityloop.dev/
Please rate this library. Is it a good library?
Informations about the package multistep-form
Multistep form
:wrench: Component for Nette framwork which helps with creation of multistep forms.
Introduction
This component provides a simple way to create a multistep form. Handles swapping between steps, passing values from previous steps to current one and passing all combined values to final success callback. Also handles common edge cases, such as distinction between multiple instances of one form accessed by one client.
Installation
Install package using composer
Dependencies
- PHP >= 7.4
- nette/application
- nette/http
- nette/forms
How to use
- Register
\Infinityloop\MultistepForm\IMultiStepFormFactory
as service in cofiguration file. - Inject it into component/presenter where you wish to use multi step form,
- write createComponent method and use macro {control} in template file
- Submit buttons for moving forward and backward are added automaticaly.
Example createComponent method
Options
- setDefaults(array)
- default values for your form, all steps at once
- addFactory(callable, ?string)
- first argument is factory function from which the form is created
- second argument is custom template path
- the standard
{control form}
is used if no template is specified for current step - in custom template you can manualy render each step using
{form form} ... {/form}
- the standard
- setSuccessCallback(callable)
- callback where values from all steps are sent after submitting last step
All versions of multistep-form with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
nette/application Version ^3.0
nette/http Version ^3.0
nette/forms Version ^3.0
nette/application Version ^3.0
nette/http Version ^3.0
nette/forms Version ^3.0
The package infinityloop-dev/multistep-form contains the following files
Loading the files please wait ....