• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

jvmaloley
#1 Posted : Friday, November 14, 2008 8:55:05 AM(UTC)
jvmaloley

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?
General_Tools
#2 Posted : Thursday, February 19, 2009 6:12:07 PM(UTC)
General_Tools

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!
parkar.leonardo
#3 Posted : Wednesday, February 25, 2009 1:37:52 AM(UTC)
parkar.leonardo

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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012