Oops! Something went wrong while submitting the form.
Documentation
This script will show the message “Please enter a business email” on the email input’s placeholder when an unprofessional email is detected.
You can customize the Invalid Domains list in the script.
Create a webflow form and add the following to the form elements:
→ Set the id of the email input element as Work-Email → Add this custom attribute to the Form button element: data-submit-btn → Customize the error state of the email input by adding the combo class error into the input.
Paste the script into the custom code section (before </body> tag)