Form Validator
Use this attribute-based validation system on Webflow to handle multiple forms with email blocking, country-aware phone validation, and real-time feedback. It dynamically checks business email domains and country codes, stays up to date automatically, and works smoothly with light and dark themes.
1
Add this <script> inside the <head> tag of your page or project
<script src="https://cdn.jsdelivr.net/gh/Everything-Design/everythingflow@main/Tools/form.js"><script>
Copy
2
Add this attribute to the form block
ef-form-div="your-form-name"
3
Add this theme attribute to the form block to set the theme.
ef-form-theme="light/dark"
4
Add these attributes to the form inputs
ef-form-input="plain"
Add this attribute for business email and email
Name
ef-form-input
Copy
Value
business email
Copy
**Apply this attribute to the Input elements having email input in the forms
Value
email
Copy
**Apply this attribute to the Input elements having email input in the forms
Add these attributes for Phone number
Name
ef-form-input
Copy
Value
phone
Copy
**Apply this attribute to the Input elements having phone input in the forms
