Author Topic: Subscription List Error  (Read 3549 times)

  • Guest
Subscription List Error
« on: May 14, 2004, 08:46:53 am »
I get the following warning after doing a test entry to a subscription list, the field is populated correctly:

There were errors with your subscription to our mailing list.

The error messages are as follows:
You didn't enter your first name.

Please press the back button on your browser and re-enter your information.

I copied the code from the code generator and have only modified the subscription button text.

Thanks,

Ken

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Subscription List Error
« Reply #1 on: May 15, 2004, 12:49:17 am »
If you do not have a first name field in your signup form you will receive this message if you have "First Name" as a required field for the list.  On the List Settings page, uncheck "First Name" as a required field.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

  • Guest
Subscription List Error
« Reply #2 on: May 15, 2004, 06:18:24 am »
I do have a "First Name" field in the sign up form

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Subscription List Error
« Reply #3 on: May 15, 2004, 07:42:44 pm »
I haven't heard of any problems with the required fields process.  Perhaps your first name field is not named correctly.  It should be as follows:

<input type=text name=fname>
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

  • Guest
Subscription List Error
« Reply #4 on: May 15, 2004, 07:50:28 pm »
Here's the code it generated:

<form method=post action=http://www.mydomain.com/listmail/signup.php>
<input type=hidden name=list value=3>
Email: <input type=text name=email><br>
First Name: <input type=text name=user1><br>
Last Name: <input type=text name=user2><br>
Street Address: <input type=text name=user3><br>
City: <input type=text name=user4><br>
State: <input type=text name=user5><br>
Zip Code: <input type=text name=user6><br>
Home Phone: <input type=text name=user7><br>
<input type=submit name=sup value="Subscribe Me!">
</form>

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Subscription List Error
« Reply #5 on: May 15, 2004, 08:04:11 pm »
I see the problem.  The "First Name" and "Last Name" fields do not need to be set up as custom fields.  As you have it, the first name is Custom Field #1 and the last name is Custom Field #2, set up as the variables "user1" and "user2".

First Name: <input type=text name=user1><br>
Last Name: <input type=text name=user2><br>

The script is expecting the first name in the variable "fname" and the last name in the variable "lname", as follows:

First Name: <input type=text name=fname><br>
Last Name: <input type=text name=lname><br>

The signup code generator contains checkboxes for First Name and Last Name but if you have 2 custom fields also named this it would be easy to become confused.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

  • Guest
Subscription List Error
« Reply #6 on: May 15, 2004, 08:08:14 pm »
Got it, Thanks!

Ken