Php 邮寄方式和聚合铁形式?

Php 邮寄方式和聚合铁形式?,php,html,forms,http-post,polymer-1.0,Php,Html,Forms,Http Post,Polymer 1.0,我使用Polymer starter kit 1.0.2,根据我找到的(很少)文档,我尝试使用iron form 我的方法表单是“post”,只包含一个输入 我的表单“action”是一个PHP脚本(add.PHP),显示$\u GET和$\u POST的内容: print_r($_POST); print_r($_GET); 我的表单组件(form_eclp.html)是: 根据我的表单操作(add.php脚本),第一个数组用于$\u POST,第二个$\u GET 我可以看到,尽管form

我使用Polymer starter kit 1.0.2,根据我找到的(很少)文档,我尝试使用iron form

我的方法表单是“post”,只包含一个输入

我的表单“action”是一个PHP脚本(add.PHP),显示$\u GET和$\u POST的内容:

print_r($_POST);
print_r($_GET);
我的表单组件(form_eclp.html)是:

根据我的表单操作(add.php脚本),第一个数组用于$\u POST,第二个$\u GET

我可以看到,尽管form method=“post”,但这是一个“get”请求,因为只有$\u get被填充,而$\u post中没有任何内容


我不明白,这是一个bug吗?

因此,您的bower.json中的表单输入似乎已经过时。这样做:bower安装-S Polymerences/iron form,一切都应该很好。

这不是答案,但由于我无法发表评论,我不得不在这里问这个问题。您是否尝试过使用iron表单在数据库中输入任何内容?我一直在尝试从几美元的帖子中获取数据到数据库中,但都没有成功。

谢谢。你为我节省了无数小时的研究时间!这件事搞得太久了。我确实做了
bower更新
。“这不是做同样的事情吗?@krazitchek-你真的设法让铁形态工作了吗?”?请不要让我们蒙在鼓里,你添加了什么来代替/?????????
<dom-module id="my-form">
    <template>
        <div class="horizontal center-center layout">
            <div>
                <div class="horizontal-section">
                    <form is="iron-form" id="formGet" method="post" action="add.php">
                        <paper-input name="name" label="Name" required></paper-input>
                        <br><br><br>
                        <paper-button raised onclick="clickHandler(event)">Submit</paper-button>
                    </form>
                </div>
            </div>
        </div>
    </template>
    <script>

        function clickHandler(event) {
            Polymer.dom(event).localTarget.parentElement.submit();
        }

        Polymer({
            is: 'my-form',
            listeners: {
                'iron-form-response': 'formResponse'
            },
            formResponse: function(e) {
                // ?????????
            }
        });
    </script>
</dom-module>
<link rel="import" href="form_eclp.html">
<my-form></my-form>
Array
(
)
Array
(
    [name] => test
)