armansansd 3424b1927b first commit преди 2 години
..
app 3424b1927b first commit преди 2 години
assets 3424b1927b first commit преди 2 години
classes 3424b1927b first commit преди 2 години
scss 3424b1927b first commit преди 2 години
templates 3424b1927b first commit преди 2 години
vendor 3424b1927b first commit преди 2 години
.eslintrc 3424b1927b first commit преди 2 години
.gitignore 3424b1927b first commit преди 2 години
CHANGELOG.md 3424b1927b first commit преди 2 години
LICENSE 3424b1927b first commit преди 2 години
README.md 3424b1927b first commit преди 2 години
blueprints.yaml 3424b1927b first commit преди 2 години
composer.json 3424b1927b first commit преди 2 години
composer.lock 3424b1927b first commit преди 2 години
form.php 3424b1927b first commit преди 2 години
form.yaml 3424b1927b first commit преди 2 години
gulpfile.js 3424b1927b first commit преди 2 години
hebe.json 3424b1927b first commit преди 2 години
languages.yaml 3424b1927b first commit преди 2 години
package.json 3424b1927b first commit преди 2 години
webpack.conf.js 3424b1927b first commit преди 2 години
yarn.lock 3424b1927b first commit преди 2 години

README.md

Grav Form Plugin

The form plugin for Grav adds the ability to create and use forms. This is currently used extensively by the admin and login plugins.

Installation

The form plugin is easy to install with GPM.

$ bin/gpm install form

Configuration

Simply copy the user/plugins/form/form.yaml into user/config/plugins/form.yaml and make your modifications.

enabled: true

How to use the Form Plugin

The Learn site has two pages describing how to use the Form Plugin:

Using email

Note: when using email functionality in your forms, make sure you have configured the Email plugin correctly. In particular, make sure you configured the "Email from" and "Email to" email addresses in the Email plugin with your email address.

NOTES:

As of version Form version 4.0.6, form labels are now being output with the |raw filter. If you wish to show HTML in your form label, ie Root Folder <root>, then you need to escape that in your form definition:

label: Root Folder &lt;root&gt;