Unusual scenarios, error handling, and special field types
Edge cases that can cause unexpected behavior: rapid submissions, form resets, network errors, honeypot fields, multiple email fields, and more. These test the SDK's robustness and deduplication logic.
Rapid double-click on submit button. Should only capture once.
Fill email, click reset, then submit empty form.
Fill email, but don't submit. Type then leave field.
Simulated fetch that throws a network error.
Request to cross-origin without CORS headers.
Hidden _hp_email field. Should be ignored by SDK.
Fields named friend_email or referral_email should be excluded.
Primary email + CC email fields. Test priority selection.
Base64 encoded email in hidden field.
Long form with email near the bottom. Performance test.