I need help with my Join announcement list code please


Hey everybody :slight_smile:

I use an announcement list and Iā€™m trying to add the code for people to opt in. This is the code I copied from DH:

    <form method="post" action="http://scripts.dreamhost.com/add_list.cgi">
    <input type="hidden" name="list" value="FromEmailAddress" />
    <input type="hidden" name="domain" value="DomainName" />
    <input type="hidden" name="url" value="http://SubscribedURL" />
    <input type="hidden" name="unsuburl" value="http://UnsubscribedURL" />
    <input type="hidden" name="alreadyonurl" value="http://AlreadyOnURL" />
    <input type="hidden" name="notonurl" value="http://NotOnURL" />
    <input type="hidden" name="invalidurl" value="http://InvalidURL" />
    <input type="hidden" name="emailconfirmurl" value="http://EmailConfirmURL" />
    <input type="hidden" name="emailit" value="1" />
    Name: <input name="name" />
    E-mail: <input name="email" /><br />
    <input type="submit" name="submit" value="Join Our Announcement List" />
    <input type="submit" name="unsub" value="Unsubscribe" />

This is how I edited it and put it into my html editor for my site:

<form method="post" action="http://scripts.dreamhost.com/add_list.cgi"><input name="list" value="Dave" type="hidden"> <input name="domain" value="davesallnightcafe.com" type="hidden"><input name="url" value="http://SubscribedURL" type="hidden"> <input name="unsuburl" value="http://UnsubscribedURL" type="hidden"><input name="alreadyonurl" value="http://AlreadyOnURL" type="hidden"> <input name="notonurl" value="http://NotOnURL" type="hidden"><input name="invalidurl" value="http://InvalidURL" type="hidden"> <input name="emailconfirmurl" value="http://EmailConfirmURL" type="hidden"><input name="emailit" value="1" type="hidden"> Name: <input name="name"> E-mail: <input name="email"><br> <input name="submit" value="Join Our Announcement List" type="submit"> <input name="unsub" value="Unsubscribe" type="submit"></form>

I saved it on my machine and tested it and get this error msg:
emailconfirmurl could not be found. Please check the name and try again.

But, I then get the e mail subscription verification in my inbox:
[b]We have just received a request to subscribe dave@streetbibles.com to our announcement list (dave@davesallnightcafe.com) by someone at this ip address: XXXXXXXXX via this url:

To verify your subscription to this list, please visit this URL now:


If you do not want to subscribe, do nothing and ignore this request! [/b]

I hit the verify link and it tells me Iā€™m verified.

I HAVE NOT uploaded the page to my server yet.

Can someone please look at the code and see what Iā€™m doing wrong.

Thank you very much,



You need to either link to real pages for all of the placeholder URLs like ā€œhttp://SubscribedURLā€ or leave out the input elements for them.


Thank you so much Andrew. The reason I left them was it says if not changed it will take you to a very bland page. I thought it was for all the inputs.

Thanks again,