私もこの問題に非常に不満を感じていました..APIフォームIDを単に1つのフィールドに結合するのではなく(Field4、Field4-1、Field4-2など)、予期しないAPIフォームIDを指定すると、いつでも応答が返されるようです(少なくとも私のため)
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) を介して次のように分解し
、cURL https://wufoo.github.io/docs/?shell#submit-entryField4=555&Field4-1=555&Field4-2=5555
で提供されるボイラープレート コードを介して送信しました。
これを送信すると、次の応答が返されました。
{"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 で苦労しているすべての人に役立つことを願っています!