Groups can be managed under advanced list customization screens. Here are the merge tags that you will need to customize your lists in advanced mode:

For Forms:

For each set of groups in your list, a unique grouping ID is assigned. You'll need this grouping ID to work with Groups in the Advanced Forms. The best way to get the grouping ID is to revert your forms to the defaults in order to generate the standard code we provide for the grouping IDs the signup form.

*|INTERESTCHECKED:X:n|* will print "CHECKED" if the nth interest group was chosen for the Grouping ID "X".

*|INTERESTSELECTED:X:n|* will print "SELECTED" if the nth interest group was chosen for Grouping ID "X".

In both of these, "n" is determined by the display order of the group options in the grouping, and nothing else, and resets at 1 for each grouping. Thus, if interest groups are removed or reordered, the forms will be incorrect.

For thank you pages, confirmation emails, and success pages:

*|INTERESTS_X|* will give a comma-separated text block of the interest groups for grouping ID "X" for the subscriber. This is used in the welcome email that parrots back the merge field values.

Some Examples

The easiest way to handle Interest Groups in advanced forms is to revert all your designs and they'll include the default interest group tags and syntax.

To modify an Interest Grouping to look like you want it, you'll need to have a form element "group" which will be used for the Interest Group (you can see an example by just going to the easy form implementation and viewing the source of the update profile page.)

(NOTE: "X" is the grouping ID, which can be found when you "revert" your forms, or you can generate an embed form for your list to get the ID's for each grouping.)

So, for a drop down menu the code would look like this for Interest Groups:

<select name="group" id=" group" >
<option value="1" *|INTERESTSELECTED:1|*>Cars</option>
<option value="2" *|INTERESTSELECTED:2|*>Trains</option>
<option value="4" *|INTERESTSELECTED:3|*>Planes</option>
<option value="8" *|INTERESTSELECTED:4|*>Motorcycles</option>
<option value="16" *|INTERESTSELECTED:5|*>Trucks</option>
</select>

For a checkbox it'd look like this:

<input type=checkbox name="group[X]" value="1" *|INTERESTCHECKED:X:1|*> Cars<BR>
<input type=checkbox name="group[X]" value="2" *|INTERESTCHECKED:X:2|*> Trains<BR>
<input type=checkbox name="group[X]" value="4" *|INTERESTCHECKED:X:3|*> Planes<BR>
<input type=checkbox name="group[X]" value="8" *|INTERESTCHECKED:X:4|*> Motorcycles<BR>
<input type=checkbox name="group[X]" value="16" *|INTERESTCHECKED:X:5|*> Trucks<BR>

For radio buttons:

<input type=radio name="group[X]" value="1" *|INTERESTCHECKED:X:1|*> Cars<BR>
<input type=radio name="group[X]" value="2" *|INTERESTCHECKED:X:2|*> Trains<BR>
<input type=radio name="group[X]" value="4" *|INTERESTCHECKED:X:3|*> Planes<BR>
<input type=radio name="group[X]" value="8" *|INTERESTCHECKED:X:4|*> Motorcycles<BR>
<input type=radio name="group[X]" value="16" *|INTERESTCHECKED:X:5|*> Trucks<BR>

For a multiple select group:

<select name=" group[X]" id=" group_X" multiple>
<option value="1" *|INTERESTSELECTED:X:1|*>Cars</option>
<option value="2" *|INTERESTSELECTED:X:2|*>Trains</option>
<option value="4" *|INTERESTSELECTED:X:3|*>Planes</option>
<option value="8" *|INTERESTSELECTED:X:4|*>Motorcycles</option>
<option value="16" *|INTERESTSELECTED:X:5|*>Trucks</option>
</select>


Related Articles