techniconcept/formfinisher-jsonstore

Neos.Form 结束器,用于将表单数据存储到数据库中

2.0.0 2020-01-14 17:01 UTC

This package is not auto-updated.

Last update: 2024-09-18 15:54:50 UTC


README

让您可以将表单结束器添加到数据库中,以JSON格式存储表单数据。

依赖关系

此软件包依赖于

如何使用?

  1. composer require techniconcept/formfinisher-jsonstore
  2. 将结束器添加到您的表单

基于节点类型的表单

添加“JsonStore 结束器”并填写标签和类型以检索表单。

基于 Fusion 的表单(使用 neos/form-fusionrenderer

添加以下 Fusion 代码

prototype(TC.FormExample:Content.MyForm) < prototype(Neos.Form.Builder:Form) {

    # ...
    
    finishers {
        jsonStoreFinisher = TC.FormFinisher.JsonStore:Finisher.Definition {
            options {
                storeLabel = 'JsonStore label'
                storeType = 'ch.techniconcept.form-finisher.jsonstore'
            }
        }
    }

    # ...

}

致谢

开发由 techniConcept 赞助。

我们尽力以大量的爱心打造这个包,我们愿意接受赞助、支持请求等,只需 联系我们

许可协议

MIT 许可协议 (MIT)。有关更多信息,请参阅 LICENSE