Subscribtion, 2 Mailinglists

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

thinwath
Posts: 16
Joined: Thu Apr 26, 2007 1:37 pm

Subscribtion, 2 Mailinglists

Post by thinwath »

Hi Folks,

me again, i'm sorry for this.

Probelm today:

1 subcribtion but 2 mailinglists

Code: Select all

<form name="subform" method="post" action="http://host/form.do" onsubmit="return check();">
<input type="hidden" name="agnCI" value="1" />
<input type="hidden" name="agnFN" value="DoubleSave" />
<input type="radio" name="agnSUBSCRIBE" value="1" checked="" />Deutscher Newsletter
<input type="radio" name="agnSUBSCRIBE2" value="1" />Englischer Newsletter
<input type="hidden" name="agnMAILINGLIST" value="1"  />
<input type="hidden" name="agnMAILINGLIST2" value="4" />

<table border="0" cellspacing="1" cellpadding="1">

<tr><td>Gender:</td><td><input type="radio" name="gender" value="0" checked="" /> Mr. <input type="radio" name="GENDER" value="1" /> Mrs. </td></tr>
<tr><td>First Name:</td><td><input type="text" class="inputtype" name="firstname" maxlength="60" /></td></tr>
<tr><td>Last Name:&nbsp;</td><td><input type="text" class="inputtype" name="lastname" maxlength="60" /></td></tr>
<tr><td>Sprache:</td><td><input type="radio" name="sprache" value="DE" /> deutsch</td></tr>
<tr><td>&nbsp;</td><td><input type="radio" name="sprache" value="EN" checked="" /> englisch</td></tr>

<tr><td>E-Mail:</td><td><input type="text" class="inputtype" name="EMAIL" maxlength="80" /></td></tr>
<tr><td>E-Mail Type:</td><td><input type="radio" name="mailtype" value="0" /> Text</td></tr>
<tr><td>&nbsp;</td><td><input type="radio" name="mailtype" value="1" checked="" /> HTML</td></tr>
<tr><td>&nbsp;</td><td><input type="radio" name="mailtype" value="2" /> Inline HTML*</td></tr>
<tr><td>&nbsp;</td><td><input type="submit" class="inputsubmit" name="submit" value="Subscribe now!" /></td></tr>
this is how my code looks like, the user data is written correct, but when the user subscribes for the 2nd mailinglist, in this case english mailinglist, no action mail (for double opt-in) will be send. not even a mail creation starts.

something at my code wrong? or maybe a bug?

thanks
bobby
Posts: 7
Joined: Thu Oct 18, 2007 10:21 pm

Post by bobby »

I wonder if it's because you are submitting the same value for either radio button, namely "1". I believe the English Newsletter should have some other value, like that of the mailinglistID.

<input type="radio" name="agnSUBSCRIBE" value="1" checked="" />Deutscher Newsletter
<input type="radio" name="agnSUBSCRIBE2" value="1" />Englischer Newsletter

Try it out!
Post Reply