Overview
The Subscription Form Wizard makes it easy to create forms and links that allow your contacts to join lists or opt out. While the Wizard only allows you to create a form to sign up to a single list, you can modify it to create a form that accepts multiple list signups at one time.
Modifying the Form
Use the Subscription Form Wizard to create a Subscription Form for one of your Lists. The part that is unique for each List is the SLID (Special List ID). You can find the SLIDs for the rest of the Lists you would like included in your form using the List Matrix.
To start:
- Go to CONTACTS > SUBSCRIPTION FORM WIZARD
- From the 'Lists' drop-down, select one of the Lists you want in your form.
- From the Generate drop-down, choose "Subscribe Form"
- Click NEXT.
- Select any Contact and/or Custom Data you would like included in your form.
- Click NEXT.
The resulting HTML will be similar to the following:
<form action="http://whatcounts.com/bin/listctrl" method="POST">
<input type=hidden name="slid" value="123ABC456DEF" />
<input type=hidden name="cmd" value="subscribe" />
<input type=hidden name="goto" value="" />
<table>
<tr>
<td style="text-align:right;">Email:</td>
<td><input type="text" id="email" name="email" size="25" /></td>
</tr>
<tr>
<td> </td>
<td><input type="hidden" id="format_mime" name="format" value="mime" />
<input type="button" value="Cancel" />
<input type="submit" value="Subscribe" /></td>
</tr>
</table>
</form>
- Paste the HTML into a text editor
- Next, go to LISTS > LISTS
- Select THE LIST MATRIX button
- From 'Format' choose CSV then click CREATE.
- Open the file that is generated and look for the 'List SLID' values for the other Lists you want included in your form
- Go back to the HTML in your text editor
- Notice the second line of code in the form where name="slid". Cut out that line, and make a copy of it for each List like the following:
<input type="checkbox" name="slid_[#]" value="[SLID]">[List Name]
For example:
<input type="checkbox" name="slid_1" value="123ABC456DEF">Monthly Newsletter<br />
<input type="checkbox" name="slid_2" value="789GHI012JKL">Product Updates<br />
<input type="checkbox" name="slid_3" value="345MNO678PQR">Service Bulletins<br />
- Add the following line of code inside the form just before the table. This is required to allow for multiple list selections in the form:
<input type="hidden" name="multiadd" value="1" />
Remove the hidden SLID field at the top of the form:
- Save the .html file and test your form. The form will be similar to the following:
<form action="http://whatcounts.com/bin/listctrl" method="POST">
<input type="hidden" name="slid" value="123ABC456DEF" />
<input type="hidden" name="cmd" value="subscribe" />
<input type="hidden" name="multiadd" value="1" />
<input type="hidden" name="goto" value="" />
<table>
<tr>
<td style="text-align:right;">Email:</td>
<td><input type="text" id="email" name="email" size="25" /></td>
</tr>
<tr>
<td> </td>
<td>
<input type="checkbox" name="slid_1" value="123ABC456DEF">Monthly Newsletter<br />
<input type="checkbox" name="slid_2" value="789GHI012JKL">Product Updates<br />
<input type="checkbox" name="slid_3" value="345MNO678PQR">Service Bulletins<br />
</td>
</tr>
<td> </td>
<td><input type="hidden" id="format_mime" name="format" value="mime" />
<input type="button" value="Cancel" />
<input type="submit" value="Subscribe" /></td>
</tr>
</table>
</form>
Notes
- If you are on a Broadcaster, change the "form action" to the URL appropriate for that system.
Testing
Be sure to test your form once you have saved it. When the form is submitted, that email address will be subscribed to any Lists where the checkbox was selected. Use the Contact Search feature to find the record for the email address you subscribed, and ensure it reflects the Lists you selected to join. If a Global Opt Out record exists for the Contact, no subscriptions will be added.
The Subscription Form honors all Double Opt In and Courtesy options set in the List properties. The Contact will receive an individual Confirmation and Courtesy message for any List with those options enabled.
Once you have confirmed your form is functional, it can be incorporated into the code on your website.