0

我需要在我的网站上设置一个小按钮,以便人们订阅我的时事通讯。

这是我所拥有的:

<form name="yeshello" method="post" target="_blank" action="https://forms.yeshello.net/sub.htm?mycode"> <input type="text" name="email"> <input type="submit" value="Subscribe"</form>

现在 responseType 需要为 0,successUrl 需要为http://www.myspecificthankyoupage.html

如何获取代码中的responsetype和succesUrl?据我了解,两者都可以作为网络表单中的隐藏字段发送。

任何帮助,将不胜感激。

4

1 回答 1

0

好的,我发现了。它不起作用的原因是因为我得到了错误的网址。

这是正确的代码:

    <form name="yeshello" method="post" target="_blank" action="https://www.yeshello.net/myuniquecode">
        <input type="text" name="email" />
        <input type="submit" value="Subscribe" />
        <input type="hidden" name="responseType" value="0" />
        <input type="hidden" name="successUrl" value="http://myrequestedwebsiteurl" />
    </form>
于 2010-11-30T12:48:10.653 回答