Download the PHP package milesherndon/formstack without Composer
On this page you can find all versions of the php package milesherndon/formstack. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download milesherndon/formstack
More information about milesherndon/formstack
Files in milesherndon/formstack
Package formstack
Short Description Plugin to integrate Formstack forms into Craft CMS 3.
License MIT
Informations about the package formstack
⛔️ DEPRECATED ⛔️
Formstack plugin for Craft CMS 3.x
Plugin to integrate Formstack forms.
Requirements
This plugin requires Craft CMS 3.0.0 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require milesherndon/formstack
- In the Control Panel, go to Settings → Plugins and click the “Install” button for Formstack.
Formstack Overview
This plugin has a Formstack Form fieldtype which allows the selection of forms. The field pulls the forms directly from the associated account.
Also, when the field is displayed, it provides the JSON returned from Formstack for the selected form.
Configuring Formstack
Once installed, go to Settings -> Formstack and save the oAuth token. This token can be found in the API settings within the Formstack account.
Using Formstack
Field Type
Create a field and select the Formstack Form field type.
Display Form
Set a form variable with the data returned form formstack.
By default, only fields are returned in the response. However, extra items can be returned by adding them as a second parameter like below:
This will pass the viewkey and the name in the response as well. To see what else can be returned, view the API documentation here.
Example Template
Formstack Roadmap
- Add extra checks to verify if form exists
- Allow for default form selection
- Add default templating
- Add caching of Formstack responses
Brought to you by MilesHerndon