Webflow is a web-based drag and drop tool for building responsive websites. There are hundreds of professionally-designed templates. You can customize your selected template so that it’s perfect for your brand and goals.
Getform is a form backend tool enables you to collect form submissions, receive email notifications, and connect your form with popular applications without touching your form design. Following Webflow's discontinuation of form handling support for exported sites, Getform, with its servers located in the EU, is ready to accommodate all your form-related needs for your Webflow platform.
Installation
Prerequisites
Here’s what you’ll need to follow the tutorial:
- A paid Webflow account. The custom code feature is only available on a paid - plan.
- A Getform account. It’s free to get started.
Step 1 — Adding Form Component to Your Webflow Page
(If you already have a form, open it in the Designer and proceed to Step 2.)
Open your website in the Webflow Designer and follow these steps:
- Click on Add Elements (+ sign).
- Unfold the Forms dropdown.
- Drag Form block onto the page.
Step 2 — Obtaining Getform Endpoint
- Navigate to getform.io.
- Click on Create form (+), select a timezone and enter a form name.
- Copy the Form ID located at the end of the form endpoint (getform.io/f/{form-ID}).
Step 3 — Adding Getform.js to your Webflow page
- Click on Pages.
- Click on Edit Page Settings.
- Paste the below code and ensure you replace GETFORM_FORM_ID with your Getform Form ID.
- Select the form and click Element Settings.
- Insert your Getform endpoint into the "action" field, and set the method to POST.
- Send a test submission and preview your submission on Getform.
<script type="text/javascript" src="https://getform.io/lib/v1/getform.js"></script>
<script>
Getform.init("#form", { // form selector
formId: "GETFORM_FORM_ID", // form ID from getform.io
toggleOnSuccess: ".w-form-done", // class name of element to toggle on success response
toggleOnError: ".w-form-fail", // class name of element to toggle on error response
});
</script>
Email notifications
You can receive notifications at your chosen email addresses for every submission received from your Webflow contact forms.
- Click on the Automation icon on the form detail page.
- Click Edit on the “Send an email notification” action
- Enter the email addresses where you wish to receive notifications for each form submission. Your email address is set as the default.
Adding reCAPTCHA or hCaptcha
We recommend that all our users include a CAPTCHA solution in their web forms. Currently, we support reCAPTCHA v3 and hCaptcha captcha solutions.
Step 1 — Adding “captcha” site key
Add the following properties as options to the Getform.init()
function:
- provider: "recaptchav3" or "hcaptcha"
- siteKey: Get your site key from https://www.google.com/recaptcha/about/ or https://www.hcaptcha.com/
<script type="text/javascript" src="https://getform.io/lib/v1/getform.js"></script>
<script>
Getform.init("#form", { // Form selector
formId: "GETFORM_FORM_ID", // Form ID from Getform.io
toggleOnSuccess: ".w-form-done", // Element toggles on submit
toggleOnError: ".w-form-fail", // Element toggles on error
captcha: {
provider: "recaptchav3", // recaptchav3 or hcaptcha
siteKey: "6Lcjvr0eAAAAAKZSL7KCvUcc8nFtEsPLovkiZff",
},
onSuccess: function (form, event) { /* Success callback */ },
onError: function (err) { /* Error callback */}
});
</script>
Step 2 — Adding “captcha” secret key
- Click on Automation icon on the form detail page.
- Click “Captcha” action
- Add your “reCAPTCHA v3” or “hCaptcha” secret key
- Click Save and also Save your Automation
Sending confirmation emails (Autoresponse)
Autoresponse feature allows you to send customized autoresponse emails to your form submitters. Make sure your form has type="email" field to be able to receive the email address to send the autoresponse emails.
Form Redirections
To redirect the form submitter to another URL, set the "redirect" option.
<script type="text/javascript" src="https://getform.io/lib/v1/getform.js"></script>
<script>
Getform.init("#form", { // Form selector
formId: "GETFORM_FORM_ID", // Form ID from Getform.io
toggleOnSuccess: ".w-form-done", // Element toggles on submit
toggleOnError: ".w-form-fail", // Element toggles on error
redirect: "https://yourdirectiondomain.com",
captcha: {
provider: "recaptchav3", // recaptchav3 or hcaptcha
siteKey: "6Lcjvr0eAAAAAKZSL7KCvUcc8nFtEsPLovkifff",
},
onSuccess: function (form, event) { /* Success callback */ },
onError: function (err) { /* Error callback */ }
});
</script>
Integrating Your Webflow Form with Zapier
Integrating your Getform form with Zapier lets you directly route form submissions to various apps like Google Sheets or Salesforce. Visit Zapier x Getform page for more information https://zapier.com/apps/getform/integrations
GDPR & Security & Data Storage Location
We keep your data safe. Getform uses Amazon Web Services (AWS) to host all of our applications and static resources.
Our application and data servers reside in the 🇪🇺 EU regions of AWS. AWS meets a variety of industry compliance standards such as SOC1, SOC2, SOC3, ISO 27001, ISO 27017 (cloud security), ISO 27018 (Cloud Privacy), PCI DSS v3.2 and HIPAA verified by a third party. For more information, please visit security page.
More features: