Ovidiu
How to create a confirm email input in Webflow
Memberscripts needed:
Tutorial:
Cloneable:
Why/Use Cases
- Prevent users from submitting important form fields with typos.
Creating a confirm email input in Webflow
This guide will help you build a Webflow form with fields whose inputs can be confirmed by other fields. You’ve no doubt already seen this in action inside forms that ask you to confirm the password you just typed in.
To create a confirmation input in a Webflow form, we’re going to use MemberScript #140 – Confirm Matching Values. Follow the link to get the code you’ll need to add to your page and watch a video tutorial on how to set everything up.
Setting it up
Once you have your form created and styled, you need to add the following attribute to the field whose input you want confirmed:
· ms-code-conf-input=”email”
Now select the field that’s supposed to confirm the first one and add the following attribute to it:
· ms-code-conf=”email”
Next up select the error message that shows up if the inputs don’t match and add the following attribute to it:
· ms-code-conf-error=”email”
The attributes values are just a way to link them, so you can put whatever you want as a value depending on what fields you want confirmed.
Het laten werken
Now that you’ve got everything set up in Webflow, all you need to do is add the MemberScript #140 custom code to your page, before the closing body tag.
Conclusie
That’s everything, you can now go ahead and test the form on your live site.
Als u ons demoproject wilt gebruiken om u op weg te helpen, klikt u op de knop hieronder om het aan uw Webflow site toe te voegen.
Our demo can help you create a confirmation input in your Webflow field to prevent typos in user submissions.
Take me to Cloneable!
Voeg in enkele minuten lidmaatschappen toe aan uw Webflow-project.
Meer dan 200 gratis kloonbare Webflow componenten. Aanmelden is niet nodig.
Voeg in enkele minuten lidmaatschappen toe aan uw React-project.