The following example shows how to create an opt-in form where new recipients can subscribe. Potential subscribers enter their personal data themselves and will then receive all messages from the mailings lists they subscribe to. This requires two forms and one action:
• | The first form calls up the entry fields for last name, first name, email address etc. in the browser. As soon as data entry is confirmed by clicking the required button, a script is called up from the OpenEMM server which starts the second form. |
• | With the second form you confirm to the subscriber that subscription was completed successfully. The form also starts an action which saves the data entered in the recipients database. |
The registration form can either be called up by clicking a link in the mailing or by going to the website directly. This means that the form is open to all. It can also be linked from your website.
The following sections do not describe in detail all steps you need to take. They are available in more detail in our example for displaying user profile data (see previous chapter "Example: Form for a user profile amendment"), in particular as far as creating an action is concerned.