The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Multiple list Optin's for my website
paangel
post Feb 4 2010, 08:16 AM
Post #1





Group: Members
Posts: 3
Joined: 4-February 10
Member No.: 11,004



I am trying to create a optin form that if they opt in for a teleclass it also puts them into the newsletter list. I tried doing this with the allowmulti and it puts them in one list and not the other. Here is the code (ok a newbie here dry.gif ):


<html>
<head>
<meta content="text/html; charset=unicode" http-equiv="Content-Type"><form name="form1" method="post" action="https://www.mcssl.com/app/contactsave.asp">
<input name="merchantid" type="hidden" id="merchantid" value="000000">
<input name="ARThankyouURL" type="hidden" id="ARThankyouURL" value="">
<input name="copyarresponse" type="hidden" id="copyarresponse" value="0">
<input name="custom" type="hidden" id="custom" value="0">
<input name="defaultar" type="hidden" id="defaultar" value="452970">
<input name="allowmulti" type="hidden" id="allowmulti" value="457704">
<input name="visiblefields" type="hidden" id="visiblefields" value="Name,Email1,Phone">
<input name="requiredfields" type="hidden" id="requiredfields" value="Name,Email1">
<meta name="GENERATOR" content="MSHTML 8.00.6001.18882"></head>
<body>
<table>
<tr>
<td><font color="#502513"><b>Name*</b></font></td>
<td><input name="Name" size="40" ></td>
</tr>
<tr>
<td><font color="#502513"><b>Email*</b></font></td>
<td><input name="Email1" size="40" ></td>
</tr>
<tr>
<td><font color="#502513"><b>Phone</b></font></td>
<td><input name="Phone" size="40" ></td>
</tr>
<tr align="middle">
<td colspan="2">
<input type="submit" name="cmdSubmit" value="Submit">
</td>
</tr>
</table>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 4 2010, 10:49 AM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,671
Joined: 9-August 06
Member No.: 6



So what does allowmulti do?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
paangel
post Feb 4 2010, 10:55 AM
Post #3





Group: Members
Posts: 3
Joined: 4-February 10
Member No.: 11,004




In this case allowmulti would allow their name to be put into the other list as well as the first one, but it's clearly not working. When someone signs up it is only going in one list the first one.


QUOTE(paangel @ Feb 4 2010, 08:16 AM) *

I am trying to create a optin form that if they opt in for a teleclass it also puts them into the newsletter list. I tried doing this with the allowmulti and it puts them in one list and not the other. Here is the code (ok a newbie here dry.gif ):


<html>
<head>
<meta content="text/html; charset=unicode" http-equiv="Content-Type"><form name="form1" method="post" action="https://www.mcssl.com/app/contactsave.asp">
<input name="merchantid" type="hidden" id="merchantid" value="000000">
<input name="ARThankyouURL" type="hidden" id="ARThankyouURL" value="">
<input name="copyarresponse" type="hidden" id="copyarresponse" value="0">
<input name="custom" type="hidden" id="custom" value="0">
<input name="defaultar" type="hidden" id="defaultar" value="452970">
<input name="allowmulti" type="hidden" id="allowmulti" value="457704">
<input name="visiblefields" type="hidden" id="visiblefields" value="Name,Email1,Phone">
<input name="requiredfields" type="hidden" id="requiredfields" value="Name,Email1">
<meta name="GENERATOR" content="MSHTML 8.00.6001.18882"></head>
<body>
<table>
<tr>
<td><font color="#502513"><b>Name*</b></font></td>
<td><input name="Name" size="40" ></td>
</tr>
<tr>
<td><font color="#502513"><b>Email*</b></font></td>
<td><input name="Email1" size="40" ></td>
</tr>
<tr>
<td><font color="#502513"><b>Phone</b></font></td>
<td><input name="Phone" size="40" ></td>
</tr>
<tr align="middle">
<td colspan="2">
<input type="submit" name="cmdSubmit" value="Submit">
</td>
</tr>
</table>

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 4 2010, 12:21 PM
Post #4


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,671
Joined: 9-August 06
Member No.: 6



But that depends on how the script on the server is written.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
paangel
post Feb 4 2010, 12:24 PM
Post #5





Group: Members
Posts: 3
Joined: 4-February 10
Member No.: 11,004



You have totally confused me. I am just looking for what I am doing wrong on this code.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Feb 4 2010, 03:29 PM
Post #6


WDG Member
********

Group: Root Admin
Posts: 8,257
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



The problem depends on what contactsave.asp does with the data submitted to it. We don't know what contactsave.asp does with the data, so we can't tell you what (if anything) is wrong with the markup you showed us.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 4 2010, 04:52 PM
Post #7


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,671
Joined: 9-August 06
Member No.: 6



Have you copied this from somewhere? The names in all those hidden inputs don't have any meaning in HTML. The person who wrote the thing has invented them. Name and value pairs from each input will be sent to the script and it hopefully does something (or not) depending on the value. It could also just register what choices have been made.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Feb 4 2010, 07:06 PM
Post #8


.
********

Group: WDG Moderators
Posts: 7,637
Joined: 10-August 06
Member No.: 7



Sounds like the OP wants a SELECT menu with the MULTIPLE attribute added.

Also you can't put the form elements in HEAD, they belong to BODY.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 4 2010, 07:17 PM
Post #9


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,671
Joined: 9-August 06
Member No.: 6



Won't make anything happen automatically though.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th September 2017 - 03:58 PM