Documentation Index
Fetch the complete documentation index at: https://docs.formcertify.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Formcertify uses HTML data attributes to capture important consent information like who is the consenter and the disclosure they are consenting to.
Form elements must use the data-fc-type attribute with one of the following values:
Input field for collecting the user’s full name<input type="text" data-fc-type="name" />
Input field for collecting the user’s phone number<input type="tel" data-fc-type="phone" />
Input field for collecting the user’s email address<input type="email" data-fc-type="email" />
Container element displaying the consent disclosure langauge shown to the user<div data-fc-type="consent-disclosure">
By submitting this form, I agree to receive communications from...
</div>
Checkbox input associated with the consent disclosure for explicit opt-in<input
type="checkbox"
data-fc-type="consent-opt-in"
required
/>
Element containing the name of the entity receiving consent<span data-fc-type="company-name">
ABC Mortgage
</span>
The form’s submit button<button type="submit" data-fc-type="submit">Submit</button>
Can be added to the form element itself for explicit form identification<form data-fc-type="form">
<!-- Form fields here -->
</form>
Complete Example
Here’s a complete example showing all required tags in context:
<form data-fc-type="form">
<div class="form-group">
<label for="name">Full Name</label>
<input
type="text"
id="name"
data-fc-type="name"
required
/>
</div>
<div class="form-group">
<label for="phone">Phone Number</label>
<input
type="tel"
id="phone"
data-fc-type="phone"
required
/>
</div>
<div class="form-group">
<label for="email">Email</label>
<input
type="email"
id="email"
data-fc-type="email"
required
/>
</div>
<div class="consent-box">
<div data-fc-type="company-name">
Acme Corporation
</div>
<div data-fc-type="consent-disclosure">
By submitting this form, I agree to receive marketing communications from
<span data-fc-type="company-name">ABC Mortgage</span>. I understand that I can unsubscribe at any time. Message
and data rates may apply.
</div>
<input
type="checkbox"
data-fc-type="consent-opt-in"
required
/>
</div>
<button type="submit" data-fc-type="submit">
Submit Form
</button>
</form>