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

Blog / Knowledge base

Updated: 13. November 2020

Action setval - change of values in Mailocator forms

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

If you need to pre-populate any field in Mailocator based on any processes on the page, you can do so very easily with the setval action.

What can be set?
Pre-fill an email address, name or any text field,
change the values of hidden inputs,
check any checkbox,
check one of the radio inputs.

Examples of setting values in a form:

Change or preset of an email address:

Check the checkbox chkbox1 :

Radio gender tag with female value:



Set up the display of notifications on your site using Mailocator

Processing of the form (campaign) inserted into the page

How to send data to Mailocator from a form located on your site?

Instructions for your own design of the wheel of fortune

How to create a wheel of fortune with your own HTML and CSS code

How to make a Thank you page in Mailocator?

See how to bring your future customers back to your site in a better way as you complete the verification process.

Wheel of Fortune

A popular gamification element is the wheel of fortune, in which the user is offered a reward for providing data, or for subscribing to newsletters.

Mark campaign conversions with actions

Where a campaign is not automatically marked as converted (such as a newsletter sign-up), you can add a conversion using an action to better evaluate the success of the campaign.