INHOUDSOPGAVE
![](https://cdn.prod.website-files.com/5c2a9a234fdbba7439c48fa4/656600ac15e8fb306ae8447f_TQW0N2GV8-U064G7QV42G-g1e8a2ba916b-512.webp)
Ovidiu
This post will teach you How to Validate Links in Webflow Form Inputs, what validating Links in Webflow Form Inputs is and when/why you might want to Validate Links in Webflow Form Inputs in your project.
How to Validate Links in Webflow Form Inputs
Memberscripts needed
https://www.memberstack.com/scripts/93-force-valid-urls-in-form-input
Tutorial
Cloneable
![](https://cdn.prod.website-files.com/5c2a9a234fdbba7439c48fa4/65fb048152e1c46858e82550_Screenshot%202024-03-20%20at%2016.44.51.webp)
Why/When would need to Validate Links in Webflow Form Inputs?
- Prevent issues with make.com scenarios, API calls, and so on.
This guide will show you how to easily and quickly force fields to turn their inputs into valid links.
What this essentially means is that the input field will add http:// before whatever is typed into it if it (or https://) is not already present.
This can help prevent possible issues with make.com scenarios, API calls, and so on.
Validating links in Webflow form inputs
To validate links in Webflow form inputs, we’re going to use MemberScript #93 – Force Valid URLs in Form Input. 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’ve got your form and input fields set up, the only thing you’ll need to do is select the input field that you want to force its input into a URL and add the following attribute to it:
- ms-code-convert=”link”
Making it work
Now that you’ve added the attribute to your input field, all you need to do is add the MemberScript #93 custom code to your page, before the closing body tag.
Conclusie
That’s everything, you can now go ahead and test the input field on your live site.
If you want to use our demo project to get you started, just click the button below to add it to your Webflow site.
![](https://cdn.prod.website-files.com/5c2a9a234fdbba7439c48fa4/65fb03a79b1d16959c6cbdb2_oZpAwZrSkxAiNZo1GGE8iPr7dH9NjLeaAlG5CJu2qm2gLTvVYL7mHTI-gyuOS4hgPEzIoHy_W3Lhst8-WNUlOGF67gstfJZ64PckHucG6zg_gnKR2VkYIwG3ytmat1cvGsswzoWMo-Ct8vIF34RLPTc.webp)
Our demo can help you convert whatever’s written in an input field into a valid URL.