How Can I Create My Own HTML Form?
In individual cases, however, you may choose to use your own HTML sign-up form and connect it to your Newsletter2Go account.
- First create a Double Opt-In email, and make sure it has a sign-up form associated with it.
- Below is an example of a classic HTML form:
Please ensure that you use the correct attribute names for the input fields in your HTML form. You can see the standard names for all attributes when you export your contact list into a .csv. The top .csv row gives the exact name of each attribute. For example ...
First name: first_name
Last name: last_name
For the attributes you've created yourself, make sure you use the exact spelling used when creating the attribute.
You only need the first three lines of the code to initialize this process:
4. The next step records and evaluates it when the form is submitted.
You can also assign attributes individually by doing the following:
5. The last step transfers the data to Newsletter2Go. At the same time, it sets the sign-up status and displays this as an h2 heading instead of the sign-up form.