Comment on page
A simple checkbox
If our widgets are a bit too big for you, we have a variant
By default, we recommend the use of widgets for consent register. But in special cases, when space is limited or you want to fully control your forms design, you can choose to display a simple checkbox. Here is how.
You'll first need to access the Axeptio SDK object. To do so, we recommend the use of the
// We initialize the table if it is not already declared
window._axcb = window._axcb || ;
// We add our callback:
// This portion of code will be called once
// all the Axeptio configuration is loaded
// And here we'll create the checkbox
identifier: "write here the identifier of the checkbox",
node: document.getElementById("write here the element ID where we want our checkbox to be created"),
checkboxText: "I agree with the terms of services",
checkboxDetailsText: "know more"