DNN 7.0.6 PE
OptIn 5.0.0
If I set the "Make name/email fields read only for updates" to "Always", the page throws a Null Reference Exception:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Dataspring.DNN.Modules.OptInEmail.__OptIn.SetInitialFields() at Dataspring.DNN.Modules.OptInEmail.__OptIn.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
If I also check the option "Request First/Last Name", then the page loads fine, but it shows the user's First Name, Last Name, and Email address. While the fields are read-only, it's confusing to users.
Maybe this is more a feature request, but it would be nice to be able to hide these fields altogether. Our users' accounts are managed outside of DNN, so they never see their information on the site.