CM Pop-Up Banners (CMPB) - Example - Pop-Up Banner with Form


Pop-Up Banner with Form

Back to User Guide

CM Pop-Ups Banner allows users to place HTML code in the content of the banners. For instance, this means that users can create a subscription form.

To create a form in the pop-up banner, navigate to the  Admin Dashboard → Add New Campaign.

In the content field place form code (see example code on the screenshot below).

As an  action attribute set path to the PHP file with function to handle form data after sent. (Writing the PHP code for handling the form won't be covered in this documentation)

You can also place JS scripts here to support validation on the client-side, tooltips, etc.


Forms Coming From Shortcodes

Most times you will not want to write your own form nor the code handling it, instead, you can place a shortcode coming from the 3rd party plugin which will generate the form HTML automatically and make sure 
that the data sent from the form is saved.

Example

Pop-Up with provided sample form looks like this. After the "Publish" is clicked the data from the form will be sent to the url passed in the "action" attribute of the form.

To set the rest of the campaign options, please view this page, then Publish the Campaign.


More information about the CM Pop-Up Banners & Disclaimer WordPress  Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.