bright-cloud-studio/contao-form-to-form
最新稳定版本:1.0.0
Composer 安装命令:
composer require bright-cloud-studio/contao-form-to-form
包简介
Allows one form's fields to be pre-filled with values submitted from another.
README 文档
README
Allows one form's fields to be pre-filled with values submitted from another.
Uses:
This package was designed for a client who wanted one smaller form on their homepage to act as a lead-in to a much larger form. When a user enters values into the smaller form they would be sent to the larger form where those submitted values would then be pre-filled in to any matching form fields. Fields "link" by having the same "Field name".
Directions:
For these directions assume we have two forms. Form A is our main form and Form B is our smaller lead-in form.
- On Form B, add a "Hidden field" with the "Field name" set to "form_to_form_target" where the "Default value" is the ID of the form we want to send our values to, Form A.
- In Form B's settings page, set the "Redirect page" to whichever page Form A is on. When the page loads, any fields on Form A that have the same "Field name" as Form B will be pre-filled with the submitted values.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2023-04-17
