tritum/repeatable-form-elements
Composer 安装命令:
composer require tritum/repeatable-form-elements
包简介
Adds a new form element which allows the editor to create new container elements with any type fields in them. In the frontend, a user can create any number of new containers. This is an extension for TYPO3 CMS.
README 文档
README
Custom form element "Repeatable container"
This TYPO3 extension adds a custom form element "Repeatable container" to the TYPO3 form framework. It displays one/ a set of fields which can be duplicated and removed if desired. Any existing validation is copied as well. All form finishers will be aware of the copied field(s).
Preferred installation
- Require the extension via composer.
- Add the site set tritum/form-element-linked-checkbox to the dependencies of your site packages site set (TYPO3 v13). Or add the static TypoScript configuration to your TypoScript template (TYPO3 v12 and TYPO3 v13).
Usage
Open the TYPO3 form editor and create a new form/ open an existing one. Add a new element to your form. The modal will list the new custom form element "Repeatable container".
Add the desired fields with the favored validators to the "Repeatable container".
The frontend will render the "Repeatable container" as fieldset. In addition to the included form elements it will display buttons for copying/ removing new sets of fields.
The newly implemented extended version of SaveToDatabaseFinisher can be used as seen here.
Configuration
To deactivate the copying of variants, the feature repeatableFormElements.copyVariants can be used
Extendability
The following options can be used to extend the behavior when copying.
| Name | Description |
|---|---|
| CopyVariantEvent | Extend manipulation of copied variants or disable specific ones. |
Credits
This TYPO3 extension was created by Ralf Zimmermann (https://dreistrom.land).
Thank you
Nora Winter - "Faktenkopf" at www.faktenhaus.de - sponsored this great extension. The fine people at www.b13.de connected all the people involved.
Elias Häußler - haeussler.dev - for helping with TYPO3v11 compatability and providing the beautiful TYPO3 badges. Use them. Give him some kudos!
Uwe - Hawkeye1909 - for removing jQuery as dependency.
Alexander Opitz @ extrameile-gehen.de - for his work on saving repeatable elements to database.
especially to all others who have contributed to the improvement of the extension.
tritum/repeatable-form-elements 适用场景与选型建议
tritum/repeatable-form-elements 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 109.87k 次下载、GitHub Stars 达 15, 最近一次更新时间为 2018 年 06 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 tritum/repeatable-form-elements 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tritum/repeatable-form-elements 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 109.87k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 36
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2018-06-06