If you want an easy way for website visitors to subscribe to your PairList mailing list, consider putting a subscription form on your website.
If you want to learn how to use PairList on a WordPress installation, check out our the WordPress PairList Subscription Form section on our current knowledge base.
How to Put a PairList Subscription Form on Your Webpage
You can embed a subscription form into your webpage by copying and pasting the following code into your webpage's HTML file. Be sure to change the highlighted example information to match your PairList’s information.
<h2>Join the LISTNAME list</h2> <form method="post" action="https://SERVER-URL/mailman/subscribe/LISTNAME"> Your Email Address: <input type="text" name="email"><br> Your Name (optional): <input type="text" name="fullname"> <br><br> <p>You may enter a privacy password below. <strong>Do not use a valuable password</strong> as it will occasionally be emailed back to you in cleartext. If you choose not to enter a password, one will be automatically generated for you, and it will be sent to you once you've confirmed your subscription. </p> <br> <p>Password: <input type="password" name="pw"> Confirm Password: <input type="password" name="pw-conf"></p> <br> <p>Would you like to receive list mail batched in a daily digest? <input type="radio" name= "digest" value="0" checked> No <input type="radio" name="digest" value="1"> Yes</p> <p><input type="submit" name="email-button" value="Subscribe"></p> </form>
Finding the PairList Server URL
To find your SERVER-URL, go to your PairList interface in the ACC and click the name of your PairList. Go to the page URL in the top of the screen and copy the address listed between https:// and /mailman.
Now, when people input information and click Subscribe, their information will be added to your PairList.
How to Put a PairList Subscription Form on Weebly
You can embed a PairList subscription form in your Weebly site, too.
- First, log in to your Weebly site editor through the ACC. See our Accessing the Weebly Editor article for more information about how to do this
- Navigate to the page you want the form on
- In the left sidebar under Basic, drag-and-drop Embed Code onto the page
- A box will appear on the page with the text, “Click to set custom HTML.” Click this box
- A pop-up will appear. Click Edit Custom HTML in the pop-up
- Paste the HTML code from the previous section. Be sure to change the information to match your PairList
- Click out of the HTML editor
A form should now appear on your webpage where you dropped the Embed Code option. You can edit this at any time by editing the HTML. We recommend testing the form to make sure it’s set up properly. If you encounter problems, such as valid email addresses being rejected as invalid, double check that you have the correct server information in the form.