BV Commerce Forum
»
BV Commerce Support
»
General Support
»
How to add first and last name to newsletter sign up
Rank: Member
Joined: 2/26/2007(UTC) Posts: 57
|
Does anyone know how to add the first and last name fields along with the already existing email address in the newsletter sign up?
|
|
|
|
Rank: Member
Joined: 1/10/2008(UTC) Posts: 10
|
I know this is late, but you can do this by editing the Mailing List Signup content block. Look under BVModules > ContentBlocks, then in view.ascx add:
<asp:TextBox ID="FirstNameField" Columns="15" runat="server"></asp:TextBox> <asp:TextBox ID="LastNameField" Columns="15" runat="server"></asp:TextBox>
In view.ascx.vb look for
Dim mm As New Contacts.MailingListMember mm.EmailAddress = EmailAddressField.Text.Trim
and put this directly below it:
mm.FirstName = FirstNameField.Text.Trim mm.LastName = LastNameField.Text.Trim
That should do it!
|
|
|
|
Rank: Member
Joined: 2/23/2009(UTC) Posts: 6
|
Hi, Thanks for answer, I will try it in my code.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.