The Subscription Form allows anyone to submit at least an email address to subscribe to a list.
To Create a Subscription Form
- Go to CONTACTS > SUBSCRIPTION FORM WIZARD.
- Select a List.
- From Generate select 'Subscribe Form'.
- Select the Default Format, which will determine the preferred email format: Multipart MIME, HTML, Plain Text.
- Select 'Show checkboxes for format choices' to allow your contacts to choose a preferred email format.
- Enter a Goto URL for the landing page. If no landing page is defined, the form will use the Landing Page defined in your List properties. If no Landing Page is defined, the contact will see a default platform welcome page.
- Enter an Error Landing Page. If no Landing Page is defined, the contact will see a default platform error page.
- Click NEXT.
- Select Contact Data fields and/or Custom Data fields to include in the form. Each selected field will appear in the form with the field name as the label for a text box. Email is required by default and cannot be deselected.
- Click NEXT.
- Select the form code and paste into a text editor to customize the form further.
- Test the form, then place the form code into your website.
Example
The following is an example of how the form code will appear, where [slid] is the special list id, [gotoURL] is the success Landing Page, and [errorURL] is the Error Landing Page.
NOTE: If you are on a Broadcaster, make sure you replace the form "action" value with the one appropriate for your Broadcaster.
<form action="http://whatcounts.com/bin/listctrl" method="POST">
<input type="hidden" name="slid" value="[slid]" />
<input type="hidden" name="cmd" value="subscribe" />
<input type="hidden" name="goto" value="[gotoURL]" />
<input type="hidden" name="errors_to" value="" />
<table>
<tr>
<td style="text-align:right;">Email:</td>
<td><input type="text" id="email" name="email" size="25" /></td>
</tr>
<tr>
<td style="text-align:right;">First:</td>
<td><input type="text" id="first" name="first" size="25" /></td>
</tr>
<tr>
<td style="text-align:right;">Last:</td>
<td><input type="text" id="last" name="last" size="25" /></td>
</tr>
<tr>
<td style="text-align:right;">Zip:</td>
<td><input type="text" id="zip" name="zip" size="25" /></td>
</tr>
<tr>
<td style="text-align:right;">Birthdate:</td>
<td><input type="text" id="custom_birthdate" name="custom_birthdate" 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>
Testing the Form
Once you have created a form, test it to ensure it is functioning as expected. To test your subscription form:
- Save the form as an .html file.
- Open the .html file in your browser.
- Fill the form fields with a test Email address and contact information, then submit the form. Verify the expected landing page is displayed.
- If you have Subscription Confirmation required in your List properties, you will receive an email with a link to confirm your subscription. Click the link to subscribe.
- Login to your realm.
- Go to CONTACTS > SEARCH FOR CONTACT.
- Enter the Email address submitted above, then click SEARCH.
- Double click the contact record to view the details.
- Validate the Contact and Custom Data, and verify the subscription was created in the Subscription tab set to the expected format.
Captcha Support
If Captcha is enabled for your Realm, a hidden honeypot captcha field is included in the generated HTML code. The field is unseen by users, but can thwart spam bot attempts. This option is new in v16.11. If you have created a sign up form prior to v16.11, please contact support for information on how to add the honeypot field to your existing forms.