Try ContactFire Form Processing Live!
This is a working demo of our form processing service. Submit this form to see ContactFire in action - you'll get an instant email notification and the submission will appear in your dashboard.
Send us a message
Our team typically responds within 24 hours.
This contact form is powered by ContactFire! ๐
Secure submission with embed token cf_contact_form_demo_token
See ContactFire in Action
The form above uses ContactFire's API. Here's how you can integrate it into your own projects:
HTML Integration
Perfect for static sites and simple forms. Just add your embed token and you're ready to go!
<!-- ContactFire Form Integration -->
<form action="https://my.contactfire.com/api/submit" method="POST" enctype="multipart/form-data">
<input type="hidden" name="_contactfire_token" value="cf_demo_token_12345abcdef">
<input type="hidden" name="_redirect" value="https://contactfire.com/thank-you">
<div>
<label for="name">Name *</label>
<input type="text" name="name" id="name" required>
</div>
<div>
<label for="email">Email *</label>
<input type="email" name="email" id="email" required>
</div>
<div>
<label for="message">Message *</label>
<textarea name="message" id="message" required></textarea>
</div>
<div>
<label for="attachment">Attachment</label>
<input type="file" name="attachment" id="attachment"
accept="image/*,.pdf,.doc,.docx"
data-max-size="5242880">
</div>
<button type="submit">Send Message</button>
</form>
<script>
// Basic client-side validation and enhancement
document.querySelector('form').addEventListener('submit', function(e) {
// Add any custom validation here
console.log('Form submitted via ContactFire');
});
</script>How to use:
- 1. Copy your embed token from the ContactFire dashboard
- 2. Replace
cf_demo_token_12345abcdefwith your actual token - 3. Paste the code into your HTML file
- 4. Customize the form fields as needed
JavaScript/API Integration
For dynamic applications with custom validation, file uploads, and advanced features.
// ContactFire JavaScript Integration
import { ContactFireClient } from './contactfire-client.js';
const client = new ContactFireClient({
embedToken: 'cf_demo_token_12345abcdef',
environment: 'production'
});
// Example form submission
async function submitForm(formData) {
try {
const result = await client.submitWithEmbedToken(formData);
if (result.success) {
console.log('Form submitted successfully:', result.submissionId);
// Handle success (e.g., show thank you message)
} else {
console.error('Form submission failed:', result.errors);
// Handle errors
}
} catch (error) {
console.error('Submission error:', error);
}
}
// Usage example
const formElement = document.getElementById('contact-form');
formElement.addEventListener('submit', async (e) => {
e.preventDefault();
const formData = new FormData(formElement);
const data = Object.fromEntries(formData.entries());
await submitForm(data);
});Advanced features:
- โ Real-time form validation
- โ File upload support
- โ Custom error handling
- โ Analytics integration
- โ Webhook notifications
Ready to Get Started?
Create your ContactFire account and get your embed token in minutes.
How ContactFire Handles Your Form Submission
Secure Submission
Form data is encrypted and securely transmitted to our API using embed tokens
Spam Detection
Advanced AI filters block spam submissions before they reach your inbox
Instant Delivery
Submission is stored in your dashboard and sent to your email instantly
Get Support
hello@contactfire.com
Perth, Western Australia