【问题标题】:zend form implementation of add another添加另一个的zend表单实现
【发布时间】:2013-09-12 22:10:15
【问题描述】:

我有一个 zend 表单,其中我有一个字段添加另一个,如下所示

我知道当有人点击添加另一个按钮时如何添加 html,但是

my question is how I am going to validate the dynamically added element and how I am going to dynamically generate and populate the element and how will I get this element value using zend form

我正在使用 zend 框架 1。

【问题讨论】:

    标签: php zend-framework zend-form socialengine


    【解决方案1】:

    Zend Framework 1.x 没有为此提供内置功能。您必须扩展多选元素。然后编写一个 JQuery 插件来添加所需的行为。

    几年前在我以前的工作中,我们不得不这样做。没有简单的方法可以做到这一点。不幸的是,我现在无法访问那个旧代码。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-10-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多