Streaming live at 10am (PST)

How can we use our own form processor with webflow form


#1

We use a form processor for forms in webflow that works really well. Advantages to this is if you ever leave webflow your website forms don’t break. Also not having to rely on a third party to process the forms or issues in not receiving form data, or any limitations on number of forms received and potential associated costs, etc.

In case it helps I am making this post to give instructions on what we use and how it works.

The form processor script we use is formmail.php found at www.tectite.com 263. Totally free, although they have some paid service whereby you can use their wizard to build forms but we don’t use it or need it and you really shouldn’t either as the script will do everything you need. Too, bears mentioning you can rename this form to whatever you want.

Important thing is to configure the script for the particular form/website and that is pretty easy to do generally there are only a couple of lines in the script that need modified.

In particular around line 442 of the script is the $target_email. In between the quotes you’d put the domain url without www or anything just like “domain.com

The next line “def_alert” is if you the developer or someone needing to track anything technical from the form responses needs such data then you’d put your or their email in between the quotes there. Then you will get an email when/if a form is submitted and there are any problems (errors) or for example when/if the form script itself needs updated as in using an older version.

The only other thing we will change in the form is at or around line 468 called “$at_mangle”. there we will put something funky in between the quotes like “&george@”. This fools spammers and is totally cool and so much fun to do.

Works like this. When you build your form you have to make a hidden value for the email address the form is going to be emailed to. Problem is spammers can scrape this. But now with this feature let us say your email address is email@email.com. Now you would make it (in the case like our at_mangle shown above) email&george@email.com. Of course, there is no email&george email address so it will kick back assuming you have your server email system setup correctly to fail if an invalid email address is used. And spammers cannot see or know the real email address.
thanks…


TutuApp Lucky Patcher Kodi


#2

So there are a few ways to send form submissions elsewhere. One is with Zapier. Another is with custom code on an exported site https://university.webflow.com/article/collecting-form-submissions-on-exported-sites

I hope that helps.