我正在使用吴福奥表单api向我的帐户上的一个表单投递,但是尽管我在下面的文档中遇到了这个错误:
此表单不能接受新条目。请将表格告知业主,以便他们能与吴福支援联系。
到目前为止,已满足下列要求:
然而,我仍然会发现这个错误,还有什么我/文档丢失了吗?
发布于 2016-08-10 22:19:37
我对这个问题也很失望。当您给出API表单ID时,响应似乎是的--它并不期望(比如Field4、Field 4-1、Field 4-2),而不是简单地将它们组合成一个字段(至少对我来说)。
我有一个电话号码字段,wuFoo将其拆分为3个参数:
<li id="foli4" class="phone notranslate">
<label class="desc" id="title4" for="Field4">
Phone Number
</label>
<span>
<input id="Field4" name="Field4" type="tel" class="field text" value="" size="3" maxlength="3" tabindex="4"/>
<label for="Field4">###</label>
</span>
<span class="symbol">-</span>
<span>
<input id="Field4-1" name="Field4-1" type="tel" class="field text" value="" size="3" maxlength="3" tabindex="5" />
<label for="Field4-1">###</label>
</span>
<span class="symbol">-</span>
<span>
<input id="Field4-2" name="Field4-2" type="tel" class="field text" value="" size="4" maxlength="4" tabindex="6" />
<label for="Field4-2">####</label>
</span>
</li>在PHP中,我通过http_build_query($_POST)将其分解为:Field4=555&Field4-1=555&Field4-2=5555,并通过它们在cURL https://wufoo.github.io/docs/?shell#submit-entry上提供的样板代码发送它。
发送此邮件返回响应:
{"Success":0,"ErrorText":"This form can't accept new entries. Please inform the owner of the form so they can contact Wufoo Support.","FieldErrors":[]}然而,当我发送这封信时:
Field4=5555555555在我的帖子正文中,表单提交成功!
看起来,尽管WuFoo将其表单的部分拆分成几个组件,但它期望将响应连接在一起,否则就会崩溃.
希望这能帮助你们所有人在WuFoo API中挣扎!
https://stackoverflow.com/questions/34594362
复制相似问题