guave/formsave-bundle
最新稳定版本:2.0.0
Composer 安装命令:
composer require guave/formsave-bundle
包简介
Saving Forms to DB for Contao 5.0+
README 文档
README
This contao module saves forms configured with the save form field to the tl_form_save table.
Requirements
- Contao 5.0+
- PHP 8.1+
Install
$ composer require guave/formsave-bundle $ php vendor/bin/contao-console contao:migrate
Usage
Create a form that saves to the table tl_form_save.
Add a hidden field with the field name alias and a default value of your choice.
The value will be used to display the form in the exported CSV.
Every other field with a field name will be serialized into a form_data field in the database.
Within the form overview in Contao there will be a new button that allows you to download a CSV of the submissions.
There is also an optional Form Name Content Element, which you can add to the same page as the form.
This will override the alias from the form.
This is useful for when you have the same form for multiple uses.
This way you can differentiate the submitions in the CSV by the alias.
统计信息
- 总下载量: 1.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: ISC
- 更新时间: 2022-12-19