Drupal Integration Guide
Complete guide to integrate MyFormConnect with Drupal
Add MyFormConnect forms to your Drupal website using Custom Blocks or the Full HTML text format. Perfect for contact forms, lead capture, and content submissions.
Prerequisites
- A MyFormConnect account - Sign up here
- A form created in your MyFormConnect dashboard with its UUID copied
- Drupal admin access with content editing permissions
- Permission to use Full HTML text format
Integration Methods
Custom Block (Recommended)
Create a Custom Block with your MyFormConnect form that can be placed anywhere on your Drupal site.
Copy your form UUID
- Log in to your MyFormConnect dashboard
- Open the form you want to use
- Copy the form UUID (e.g.
550e8400-e29b-41d4-a716-446655440000)
Create a Custom Block
- Go to Structure → Block layout → Custom block library
- Click Add custom block
- Select Basic block
- Enter a description (e.g. 'MyFormConnect Contact Form')
- In the Body field, switch text format to Full HTML
Add form code
- Replace
YOUR_FORM_UUIDwith your actual UUID - Click Save
<form action="https://myformconnect.io/f/YOUR_FORM_UUID" method="POST" data-mfc="true">
<div style="margin-bottom: 15px;">
<label for="name">Name *</label><br>
<input type="text" id="name" name="name" required style="width: 100%; padding: 8px; border: 1px solid #ccc;">
</div>
<div style="margin-bottom: 15px;">
<label for="email">Email *</label><br>
<input type="email" id="email" name="email" required style="width: 100%; padding: 8px; border: 1px solid #ccc;">
</div>
<div style="margin-bottom: 15px;">
<label for="message">Message</label><br>
<textarea id="message" name="message" rows="4" style="width: 100%; padding: 8px; border: 1px solid #ccc;"></textarea>
</div>
<button type="submit" style="padding: 10px 20px; background: #0074bd; color: white; border: none; cursor: pointer;">Send</button>
</form>
<script src="https://myformconnect.io/loader.js" data-client-id="YOUR_FORM_UUID"></script>
Place the block
- Go to Structure → Block layout
- Find the region where you want the form
- Click Place block
- Search for your block and click Place block
- Configure visibility settings if needed
- Click Save block
Test
- Visit a page where the block appears
- Fill out and submit the form
- Check MyFormConnect dashboard under Leads
Related Integrations
References & Official Documentation
Next Steps
Configure MyFormConnect
- Set up your timezone
- Configure lead notifications
- Set up advanced spam detection
- Add team members to your account
Advanced Features
- Use our custom form templates
- Try AI Insights for Leads
- Integrate with your CRM
- Set up automated workflows