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を取得するにはどうすればよいですか?私が理解したことから、両方をWebフォームの非表示フィールドとして送信できます。

どんな助けでもいただければ幸いです。

4

1 に答える 1

0

わかりました、わかりました。間違ったURLが与えられたために機能しなかった理由。

正しいコードは次のとおりです。

    <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 に答える