Author: redwoodbev | Posted on: 6/6/2010 8:44:37 PM | Views : 269

 Hi,  I'm working with a starterkit which uses membership/registration and I would like to add two checkboxes to the register page.  The first would be for subscription to a newsletter and the second would be for the user to tell if they are an industry professional. 
 The newsletter subscription would be passed to the membership database as a comment, either subscribe or unsubscribe, based on whether the checkbox is checked or not.
The "dealer" checkbox would be used to set the member role as Dealer and so they would have additional access in the website as dealers.
I have added the checkboxes to the user interface and tried this in the codebehind
 
Dim NewsletterYes As Boolean If NewsletterYes = True Then member.Comment = "Subscribe" ElseIf NewsletterYes = False Then member.Comment = "Unsubscribe" ...

Go to the complete details ...