Přejít k obsahu  Přejít k hlavnímu menu

Blog / Knowledge base

Updated: 2. May 2020

Confirmation checkbox, conditional agreement with the conditions

Pop-up settings with confirmed consent to the processing of personal data or other consent


Pop-up with confirmed consent

Adding a checkbox is easy:
either drag it directly to the desired location in Designer,
or create it using simple tags directly in the HTML source of your popup.



Insert the following tag in the HTML code, where attribute name contains mlctr-verification
<input type="checkbox" name="mlctr-verification" />




Add a notification container to the appropriate location that appears when a user attempts to submit unconfirmed data.
The container must be assigned the class mlctr-verification-alert
<div class="mlctr-verification-alert">
      Please confirm your request before sumbit
</div>







Enforcement of conditions and mandatory fields

You can mark any field, checkbox, select or other input as mandatory, without which the form data (popup) cannot be sent.
Either mark the field as mandatory directly in the Designer,
or add the mlctr-required attribute to the required tag
Example:
<input type="checkbox" name="opt_confirmation" value="yes" mlctr-required="true" />



RELATED

Action setval - change of values in Mailocator forms

The setval action can be used to dynamically change the default value in pop-ups

Connect and make forms for dialog-Mail

See how to easily connect dialog-Mail and build and setup subscription popup

Changes in the import of discount codes from 1 December 2020

If you use discount codes in Mailocator, please pay attention to the following information

Draw a random discount code

Do you need to draw a random win or a code to gamble popup? Mailocator allows you to easily set the probability to one hundredth of a percent, randomly select a win and deliver it to the email tool.

Launch a campaign using a URL

You can also invoke Mailocator campaigns or designs at any time using a parameter in your site´s URL

Transfer of data from Mailocator to ESP

Sometimes it is useful to provide additional information from Mailocator, usually state, gender, favorite categories, discount code or name and surname. How to do it?