Newsletter.widget request

Jan 21, 2011 at 8:37 PM
Edited Jan 21, 2011 at 8:47 PM

I would like to see two buttons for the Newsletter widget, one to subscribe and one to unsubscribe, this would be clearer to users.  Presently I changed the button text from Notify to Subscribe/Unsubscribe.

Thank you.

Edit:

Sorry I should have posted this to the Features Request post.

Edit:

 

 

Jan 21, 2011 at 8:47 PM

 

Will this code

<asp:Button runat="server" ID="btnSave" ValidationGroup="newsletter" Text="Subscribe" OnClientClick="return beginAddEmail()" />

    &nbsp;

    <asp:Button runat="server" ID="Button1" ValidationGroup="newsletter" Text="Unsubscribe" OnClientClick="return beginAddEmail()" />

accomplish the above request without creating any undesirable issues?

Coordinator
Jan 22, 2011 at 12:40 AM

You can add the 2nd button like that ... but both buttons will do the same thing.  If the person is currently subscribed, clicking either button will unsubscribe them.  And if the person is currently unsubscribed, clicking either button will subscribe them.

To have it work ideally, other changes would need to be made to pass a 2nd parameter to the server indicating if the person is subscribing or unsubscribing.