Examples & Guides
Choose the right guide for your experience level and platform.
Which Guide Should I Use?
| Guide | Audience | Best For |
|---|---|---|
| Quick Start | Anyone | Zero-config, one script tag |
| Vanilla HTML Forms | Beginners | Copy-paste form protection for HTML sites |
| Drupal Installation | Drupal admins | Drupal 8-10 with AJAX and CKEditor support |
| WordPress Installation | WordPress admins | WordPress with Contact Form 7, WPForms, Gravity Forms |
| ESM Import & Programmatic Use | Intermediate | Programmatic control, statistics, event monitoring |
| Form Handler (Advanced) | Advanced | Full customization, all form handler features |
| Error Handling | All levels | Robust error handling patterns |
Feature Comparison
| Feature | Vanilla HTML | ESM Import | Form Handler |
|---|---|---|---|
| Automatic form protection | Yes | Yes | Yes |
| Form exclusion | Yes | Yes | Yes |
| Field exclusion | -- | -- | Yes |
| Statistics dashboard | -- | Yes | Yes |
| Event monitoring | Yes | Yes | Yes |
| Manual attachment/detachment | -- | Yes | Yes |
| Pre-validation | -- | Yes | Yes |
| Color customization | -- | -- | Yes |
| Dynamic forms (SPA) | -- | -- | Yes |
| Callbacks | -- | -- | Yes |
Configuration
Each platform guide covers installation. For customization:
- Vanilla HTML Configuration -- Thresholds, feedback modes, events, and custom messages
- Drupal Configuration -- Data attributes, PHP form alter exclusions, and Webform settings
- WordPress Configuration -- WordPress plugin-specific settings
- Configuration Reference -- All options, proxy mode, and advanced settings
Troubleshooting
- Troubleshooting -- Diagnostics, common issues, CORS, rate limits, and more