In this chapter, you will create three forms for your double opt-in registration.
1. | The first form is exactly identical to that used for normal registration (see chapter "Creating a form to enter data"). In our example, the form is called DoubleSubscribe and calls up the DoubleSave form. In your HTML code, insert the following line: <input type="hidden" name="agnFN" value="DoubleSave"> |
2. | The second form is also very similar to a normal registration form. In our example, the name of the form is DoubleSave. As a starting action, you will call up the action defined as a double opt-in registration, in our example Double opt-in: Subscribe. The entry in the Success form box tells the new subscriber that an email asking him or her to confirm the subscription will be sent out shortly. The concluding action for the form is the action which triggers the mailing, in our example Double opt-in: send email. |
Fig. 8.14: The form saves subscriber data but marks them as blocked. In a concluding action a confirmation email is sent to the new subscriber.
3. | All the third form does is to unblock the database entry for the new subscriber’s data. In our example, the name is DoubleConfirm. Please note: The name must be written exactly as in the link which you inserted into the action-based mailing created earlier. The entry in the Success form box tells the new subscriber that subscription was completed successfully. |
Now all elements for registration with double opt-in are ready.