Below are examples of simple and complex subscriber forms. We recommend the simple form. Use the complex form if you are comfortable with HTML forms and want to supply additional update and verify options.
Following the simple form, a Form Creation Wizard is provided to create your own subscriber form.
Simple Subscriber Form Example
The form below implements newsletter subscribe and cancel to a newsletter. Results are presented on one of two static pages: welcome or goodbye, which the web designer supplies.
You may omit the cancel option, but we don't recommend it. Subscribers may want to know that they may also easily cancel. You may omit the subscribers name, but we recommend collecting it because it may be helpful to you in the future.
To generate a custom version of this form for your newsletter, use the Form Creation Wizard below.
Simple Subscription Form Creation Wizard
To generate a custom version of this form for your newsletter, provide appropriate settings and choose the "Show HTML" button. The HTML for your form will appear in the box below. Copy and paste this HTML to your page.
\n';
myForm += '\n';
/* Show the resulting HTML */
document.zineForm.formHTML.value = myForm;
document.zineForm.formHTML.focus();
alert ('Subscriber Form HTML successfully created.');
return(true);
}
Complex Subscription Form
In addition to the functions of the Simple Form, the Complex Form allows the site visitor to verify or update a subscription. It also presents results on a filled-in results page or pages.
Form Parameter Definitions:
Form: Subscriber runs on the varioushosts (lists, letters, news, zines). Make sure you specify the right host name for your newsletter in the action attribute of the form tag.
All: Parameter names must be spelled the same as in the example, since they are used within the cgi scripting. Parameter names are case-independent. For example, use "toName" or "toname" but not "to-name".
Lists: Specifies the newsletter for subscribe or cancel. Ezine names must be spelled exactly the same as they are setup. Names will never have white space or dashes in them.
For example, use:
<input type=hidden name=lists value="YourNewsletterName">
The lists parameter may be repeated if you have more than one newsletter. We recommend checkboxes for this parameter if more than one newsletter may be chosen by the Web Visitor.
For example, use:
<input type=checkbox name=lists value="FirstNewsletterName" checked> and
Submit: This button may be named anything you choose, as the submit parameter is ignored.
For example, use:
<input type=submit value="Send Request">
Welcome/Goodbye: Place a fully qualified URL in the welcome and goodbye paramenters to specify a static web page to fetch upon successful subscribe or unsubscribe, respectively.
WelcomePage/GoodbyePage/ThanksPage/ErrorPage: Place a fully qualified URL in the welcomePage, goodbyePage, thanksPage, and errorPage to specify a dynamic page to be fetched on completion of a subscribe, cancel, update, or error, respectively. (Dynamic pages include fill-in information. See the example response page.) Please don't use our example response page, because it's an ugly example. Make your own!
Your newsletter must be initialized by WebValence before the subscriber forms will work. If you have trouble, or have questions, send us a note at support@webvalence.com.