Author Topic: Multiple choice unsubscribe page - how to?  (Read 3820 times)

Tecsol

  • Posts: 2
    • View Profile
Multiple choice unsubscribe page - how to?
« on: November 03, 2013, 10:10:52 pm »
Hi,
After trawling the forum for some time with little success (other than finding others asking the same questions), I'm putting out a general call for help please...
I'd like to offer our subscribers a single page which gives them to the option to unsubscribe for any of up to 5 lists.
I had no problem setting up a multiple choice subscription form, but can't find any examples or instructions to do the same for unsubscribing.
I don't want to automatically remove people from a series of lists when they unsubscribe from one - I want to let them manage the choices list-by-list.

Thanks,
James

PS - Warning! don't "request another image" with the captcha - it will clear all the message text you've just typed!!!

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Re: Multiple choice unsubscribe page - how to?
« Reply #1 on: November 06, 2013, 06:18:27 am »
Hi James,

Similar to multi-list signup, something like this should work:

Code: [Select]
<form method=post action=http://example.com/mail/signup.php>
<input type=hidden name=submode value=unsub>
<input type=checkbox name=lists[] value=1> List 1<br>
<input type=checkbox name=lists[] value=2> List 2<br>
<input type=checkbox name=lists[] value=3> List 3<br>
Email: <input type=text name=email size=32><br>
<input type=submit value="Unsubscribe Me!">
</form>

Some custom code would be needed if you wanted to pre-populate the email textbox, only show and/or pre-check lists the user is subscribed to, etc. How exactly would you like it to function?

I have removed the CAPTCHA requirement - it was a leftover from a short time when guests and non-owners could post.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

Tecsol

  • Posts: 2
    • View Profile
Re: Multiple choice unsubscribe page - how to?
« Reply #2 on: November 12, 2013, 03:41:11 pm »
That was easy! Thanks.