Announcement List opt-in form
Posted by: lubsmith
Posted on: 2009-10-20 07:02:00
I just made our new site live, and it seems that the code for the announcement list opt-in form isn't working in that once I enter a name and email address and click submit, I am not redirected to the web page URL that I put into the announcement list code. Here is the code below. You can see that I filled in some of the URL fields with custom pages.
<form method="post" action="http://scripts.dreamhost.com/add_list.cgi">
<input type="hidden" name="list" value="info@childrenofhopewdm.org" />
<input type="hidden" name="domain" value="http://www.childrenofhopewdm.org"/>
<input type="hidden" name="url"value="http://childrenofhopewdm.org/thanks-for-subscribing/" />
<input type="hidden" name="unsuburl" value="http://childrenofhopewdm.org/you-are-unsubscribed/" />
<input type="hidden" name="alreadyonurl" value="http://childrenofhopewdm.org/you-are-already-subscribed/" />
<input type="hidden" name="notonurl" value="NotOnURL" /> <input type="hidden" name="invalidurl" value="InvalidURL" />
<input type="hidden" name="emailconfirmurl"value="http://childrenofhopewdm.org/you-have-confirmed-your-subscription/" />
<input type="hidden" name="emailit" value="1" />
Name: <input name="name" style="padding: 0px; margin: 3px;"/><br/>
E-mail: <input name="email" style="padding: 0px; margin: 3px;"/><br />
<input type="submit" name="submit" value="Subscribe" style="padding: 0px; margin: 0px;"/>
</form>
Can someone help me determine what needs to change in this code? It looks to me like I did everything as the Wiki article (http://wiki.dreamhost.com/Announcement_Mailing_List) said.
Thanks in advance for any assistance!
Julie