← All forms

Referral Form - HTML Code Snippet

Refer a friend or colleague with both parties' details.

Copy-paste HTML
<form action="https://myformconnect.io/f/YOUR_FORM_ID" method="POST">
  <input type="text" name="your_name" placeholder="Your name" required>
  <input type="email" name="your_email" placeholder="Your email" required>
  <input type="text" name="friend_name" placeholder="Friend's name" required>
  <input type="email" name="friend_email" placeholder="Friend's email" required>
  <textarea name="message" placeholder="Why are you referring them?"></textarea>
  <button type="submit">Submit Referral</button>
</form>

Word-of-mouth growth is powerful, but tracking referrals manually creates chaos. A referral form backend lets existing customers submit both their own contact information and their friend's details in one structured form. You'll know who referred whom, can reward your advocates appropriately, and can personalize outreach to referred leads by mentioning who sent them.

Common Use Cases

  • Information collection
  • User engagement
  • Lead generation

Frequently Asked Questions

When should I use a referral form?

Use this form when refer a friend or colleague with both parties' details. It's designed for collecting information and engaging users.

Can I customize the referral form fields?

Yes, you can add, remove, or modify fields based on your specific requirements. The form structure is flexible and can be adapted to your needs.

How does the referral form handle submissions?

The form submits to MyFormConnect's backend, which processes the data and can send notifications, store responses, and integrate with your workflows.

Form Endpoint

POST https://myformconnect.io/f/YOUR_FORM_ID

Replace YOUR_FORM_ID with your actual form ID from MyFormConnect Dashboard.

Need an endpoint for this form?

Get your own YOUR_FORM_ID in seconds and start receiving submissions instantly.

Create your Form

How the Backend Works

  • Copy the HTML template and drop it into your page — no backend code needed.
  • Replace YOUR_FORM_ID with your ID from the MyFormConnect dashboard.
  • MyFormConnect's form backend handles submissions, routing, and storage — your form is live instantly.