Framer Forms component do not support validation for Name and Phone fields. This means users can enter numbers and symbols in the Name field and letters in the Phone field. This creates a poor user experience and can result in receiving lots of useless emails from your form.
I have created a code override which fixes this problem! With the update, users will only be able to enter letters in the Name field and numbers in the Phone field. Also it adds a phone mask for the Phone input field which you can adjust to your country code.
This override code solves issues:
Now user is only able to enter letters (Latin, Cyrillic) inside the "Name" field.
Now user is only able to enter numbers inside the "Phone" field.
Added phone input mask to display phone number in correct layout. You can adjust it for your country.
⚡️ Live website: formfieldsvalidation.framer.website
👉 Link to remix file: https://sergeichyrkov.gumroad.com/l/framer-forms-validation
Make sure you watch my YouTube tutorial, where I show how to set up this code override and add a phone input mask to your Framer form.
👉 Watch my YouTube Tutorial: https://youtu.be/QIfhxh6Uqio