Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Defaulting Email Communication to be opted in

  1. #1
    ckluth is offline Junior Member
    Join Date
    Dec 2009
    Posts
    1

    Default Defaulting Email Communication to be opted in

    Is there a way to set the new customer registration to default to 'Opted In' for receiving communications via email?

    Any help would be appreciated.

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    On the InitializePageContent method of the createaccount.aspx.cs, comment out these lines:
    Code:
    OKToEMailYes.Checked = (ThisCustomer.EMail.Length != 0);
    OKToEMailNo.Checked = !OKToEMailYes.Checked;
    add this:
    Code:
    OKToEMailYes.Checked = true;