-
- Managing Form Submissions
- Searching and Filtering Submissions
- Display Form Submissions on the Front-End
- Submission Context Tracking
- Customizing Submission Columns
- Editing Submissions
- Deleting Submissions
- Importing Submissions
- Exporting Submissions
- Exporting Submissions with a Webhook URL
- Tracking the User's IP Address
- Tracking the User's Country
- Disable Submission Storage
- Auto-Delete Old Submissions
- Auto-Save Each Submission to a JSON file
- Increment a Count on Each Submission
- Add a Unique ID to Each Submission
-
- Checkboxes
- Color Picker
- Confirmation
- Country
- Currency
- Date & Time
- Dropdown
- Email Address Field
- File Upload
- Hidden Field
- Icon element
- Number
- Page Counter element
- Password
- Phone Number
- Radio & Checkbox Images
- Radio Buttons
- Range Slider
- Rating
- Rich Text Editor
- Signature
- Terms of Service
- Textarea
- Textbox
- Website / URL Field
-
- Email the Person Who Filled Out the Form
- Send an Email Only When a Checkbox Is Checked
- Attach the Submission PDF to Emails
- Send Email Based on Drop Down Selection
- Send Different Email Content Based on Form Responses
- Set up Auto-Responder Emails
- Styling Emails with CSS
- Sending Plain-Text Alternative Body Emails
- Troubleshooting Email Delivery
- Tracking Sent Emails
- Resending Emails
-
- Browser Autocomplete for Form Fields
- Customizing Submission Date Created and Modified Formats
- How to Create a Quiz Form
- Centering forms
- Show Confirmation Popup After Submission
- Redirect to a Menu Item After Form Submission
- Use custom Google Font in your form
- Embed a Form in an External Website
- Copy Value From One Field to Another
- Add Placeholder Text to Fields
- Show a Form Only to Logged-In Users
- Add Custom CSS
- Adding an “Other” Option
- Show or Hide Form Fields Based on User Joomla User Group
- Scroll the Page to the Top When a Long Form is Submitted
- Populate Fields Using Query String
- Display Submissions Count for a Specific Form
- Populate Drop Down, Radio Buttons or Checkboxes with a CSV File
- Silently POST Submitted Data to Any API or URL
- Create a Custom Login Form
- Auto-Populate Fields with Article Data
- Add a placeholder text to a Dropdown field
- Create Multilingual Forms in Joomla
- Redirect User to a URL After Form Submission
- Importing and Exporting Forms
- Display Convert Forms in a popup
-
- CSRF Token
- Does Convert Forms Use Cookies?
- Minimum Time to Submit
- Restrict Form Submissions Based on IP
- Enforcing a Custom Password Policy in Convert Forms
- Add ALTCHA Proof of Work to your Joomla form
- Add Cloudflare Turnstile to your Joomla Form
- Implement the Iubenda Consent Database in Joomla with Convert Forms
- Add Custom Validations to Fields and Forms
- Add Math Captcha to your Form
- Prevent a Field From Saving in the Database
- Add hCaptcha to your Form
- Enable Double Opt-in
- Allow Form Submissions in Specific Date Range
- Ensure a Unique Value is Entered Into a Field
- Block Form Submissions Containing Profanity (Bad Words)
- Block Email Addresses or Email Domains
- Honeypot
- Setting Up Google reCAPTCHA
- Create GDPR Compliant Forms
-
- Troubleshooting Spam Submissions
- Updating from Convert Forms 5 to 6
- Troubleshooting Form Submission Errors
- Troubleshooting Form Rendering Issues with Joomla Cache
- Frequently Asked Questions
- Troubleshooting Issues with the Joomla Email Cloak Plugin
- Campaigns Feature Is Deprecated: Migrate to Tasks
- Prevent Form from Getting Covered by a Sticky Menu Bar
- Troubleshooting Convert Forms
Implement the Iubenda Consent Database in Joomla with Convert Forms
This tutorial’ll guide you through integrating the Iubenda Consent Database with your Joomla forms using Convert Forms and the Iubenda HTTP API method. This process will help you manage user consent more effectively and ensure compliance with privacy regulations.
Step 1: Obtain Your Iubenda API Key
To start, you’ll need a private API Key from your Iubenda application dashboard. This key is essential for authenticating your requests to the Iubenda Consent Database.
Step 2: Configure the PHP Script in Convert Forms
Navigate to your form settings in Convert Forms and locate the PHP Scripts section. In the After Form Submission option, paste the following PHP snippet. Be sure to review and update all variables before the “DO NOT EDIT BELOW” line:
$formData = new Joomla\Registry\Registry($submission->params);
// Your Iubenda API Key
$apiKey = 'ENTER_YOUR_API_KEY_HERE';
// The name of the form
$form_name = 'Contact Form';
// The name of the field representing the submitter's email address
$submitter_email = $formData->get('email');
// The name of the field representing the submitter's name
$submitter_name = $formData->get('name');
// Optionally set the name of the fields representing the Privacy Policy and Newsletter fields
$legal_notices = [
'privacy_policy' => $formData->get('privacy_policy_field'),
'newsletter' => $formData->get('newsletter_field')
];
// DO NOT EDIT BELOW
$options = new Joomla\Registry\Registry;
$options->set('headers.ApiKey', $apiKey);
$options->set('headers.Content-Type', 'application/json');
$http = (new \Joomla\Http\HttpFactory())->getHttp($options);
$data = [
'subject' => [
'email' => $submitter_email,
'full_name' => $submitter_name,
'verified' => true
],
'proofs' => [
[
'content' => json_encode($formData),
'form' => $form_name
]
]
];
foreach ($legal_notices as $key => $value)
{
$data['legal_notices'][] = [
'identifier' => $key
];
$data['preferences'][$key] = (bool) $value;
}
$response = $http->post('https://consent.iubenda.com/consent', json_encode($data));
$success = ($response->code >= 200 && $response->code <= 299) ? true : false;
$body = json_decode($response->body);
if (!$success)
{
throw new Exception(isset($body->message) ? $body->message : 'Iubenda Error');
}
By following these steps, you can effectively integrate the Iubenda Consent Database with your Joomla forms using Convert Forms. This setup helps in collecting and storing user consent data securely and compliantly.