How to Create a Newsletter Signup Form

In this tutorial, we exemplify two cases of combining the Mailchimp email marketing service with forms. In particular, we are considering configuring the “Mailchimp” Post Submit Action to email users to confirm the subscription.

We also describe the countercase: we created an email campaign using the email marketing service and added a link to a newsletter signup form on a needed site. After clicking the link in the email, users are redirected to the newsletter signup form, where they can finally confirm the subscription.

Create a Form

Navigate to the WordPress Dashboard > JetFormBuilder > Add New tab to create a new form. The form will be opened in the Gutenberg editor, and the Welcome block, which allows the application of pre-created or AI-generated forms, will be displayed.

In this case, we pressed the “Newsletter Signup Form” button on the Welcome block.

welcome block with the newsletter signup form pattern

After that, the default newsletter signup form pattern will include the “Email” Text Field and Action Button, as well as the “MailChimp” and “Save Form RecordPost Submit Actions.

the newsletter signup form pattern

In this case, we typed the form’s title (the “Newsletter sign up form” text), then added another Text Field for the user’s name and the Select Field for ticking that the user agrees with the terms and conditions. In the last step, we made the Select Field necessary and arranged the fields.

the developed newsletter signup form

Save the form by pressing the “Publish/Save” button.

Read the Form Creation tutorial for more details on the main fields and settings of the form-building process.

Send Emails to Users to Confirm the Subscription via Email

Insert the MailChimp API Key

Navigate to the WordPress Dashboard > JetFormBuilder > Settings page and unroll the MailChimp API tab. Here, insert the MailChimp API key into the API Key field.

mailchimp api settings page

Read how to get the Mailchimp API Key and manage the Mailchimp campaigns in the How to Create the Mailchimp Subscription tutorial.

After that, press the “Save” button.

Configure the “MailChimp” Post Submit Action settings

Return to the form.

The “MailChimp” Post Submit Action is set by default for the “Newsletter Signup Form” pattern. Move to the JetForm Settings, hover over the “MailChimp” Post Submit Action, and press the “pencil” icon. Then, the Edit MailChimp pop-up will appear. In this pop-up, first, enable the Use Global Settings toggle; after that, the Mailchimp API Key will be displayed in the API KEY pop-up field.

Next, select the needed MailChimp campaign in the CAMPAIGN pop-up’s drop-down list.

the edit mailchimp pop-up

For more details about managing the “MailChimp” Post Submit Action settings, read the How to Create a MailChimp Subscribe Form tutorial.

In this case, we scrolled the Edit MailChimp pop-up to the FIELDS MAP block. Here, we selected the “Email” Text Field in the EMAIL field and the “Name” Text Field in the FIRST NAME field. Then, press the “Update” button.

fields map settings of the edt mailchimp pop-up

Finally, if needed, add another Post Submit Action or delete the default “Save Form Record.” Here, we kept this action.

Watch the Post Submit Actions Overview to know how to add and manage Post Submit Actions. For instance, you can set the Email Verification

Test the flow

First, place the form on a page: open an editor you prefer and find the JetForm widget/block/element. In this tutorial, we used Elementor. 

the form added to a page via the jetform widget

Next, press the “Publish” button and navigate to the front end to check if the form works correctly.

Fill out the form and press the “SIGN UP” button.

Read the Displaying a JetFormBuilder Form in Any Page Builder tutorial to know how to add the JetForm widget/block/element in Elementor, Block Editor, and the Bricks theme.

the form on the front end

Then, if the form was submitted successfully, the following text “Form successfully submitted.” will be shown.

In the next step, move to your Mailchimp Dashboard > Audience > All contacts page to observe the list of your subscribers. If you need to add a subscriber, press the “Add contacts” button.

the mailchimp all contacts page

Create an Email Campaign for Subscription Confirmation via Forms

Modify the form

Open the previously created “Newsletter Signup Form” form or a duplicated one. In this case, we used a copy of the form.

Then, delete the “MailChimp” Post Submit Action and add the needed ones. For instance, you can send an email if the subscription is successfully paid. Read how to manage payments (e.g., configure gateway settings, set conditions and events, use macros for payment success or failed messages, etc.) in the How to Build WordPress Registration Form With Payment tutorial.

the modified form

In this case, we kept the “Save Form Record” Post Submit Action only.

Add the form to a page

As it was for the previously created form,  open an editor you prefer and insert the form on the page via the JetForm widget/block/element. In this tutorial, we used Elementor.

You can also insert the form into a button for better usability. The Popup Form in WordPress: Quick Set Up tutorial explains how to do this.

Finally, publish the page and copy the link to the page from the front end.

the link to the page

Configure the Mailchimp settings

Navigate to the Mailchimp Dashboard > Campaigns > All campaigns page. Here, press the “Create” button.

mailchimp all campaigns page

Next, select the “Regular email” type of the campaign on the newly-opened page.

regular email mailchimp campaign creation

Then, select and design the needed e-mail pattern.

selecting the needed e-mail design

In this case, we selected a free “Bold” layout and added the copied link to the page with the form to the button with the “SIGN UP” text.

adding the link to the form to the mailchimp e-mail

Then, press the “Save and exit” button at the top right corner of the page to be redirected to the “Edit campaign” page, where you should fill out the campaign’s name, e-mail subject, select the subscribers, etc. In this case, we will mail to all subscribers set on the Mailchimp Dashboard > Audience > All contacts page, but you can add/remove subscribers as you need. Finally, once completed, press the “Send” button at the top of the page and confirm it in the “Ready to send?” pop-up.

completing the e-mail campaign settings

Test the flow

The recipients will receive the e-mails.

the e-mail that subscribers will receive

After pressing the “SIGN UP” button in the e-mail, they will be redirected to the page with the form.

the redirected form on the front end

Then, if the form was submitted successfully, the following text  “Form successfully submitted.” will be shown.

Move to the WordPress Dashboard > JetFormBuilder > Form Record page to observe the list of completed forms.

the jetformbuilder form records page

Unroll the needed record to scrutinize the user data.

the jetformbuilder record unrolled

Finally, return to the Mailchimp Dashboard > Campaigns > All campaigns page to check the campaign’s statistics.

the mailchimp campaign statistics

That’s it. Now you know how to use the Mailchimp email marketing service with the JetFormBuilder plugin for WordPress to create a newsletter signup form.