Streaming live at 10am (PST)

How To on using your own form processor with webflow form

That is great! Thanks a ton for sharing :slight_smile:

That's a great idea. Will try to implement it to test.

thanks, looks promising and will certainly try this solution!

@adtastic Great work with the detailed explanation!

Can this be done without a redirect? Just normal form activity that after submission if successful will change to successful state and if error will be error state?

Likely but you’d probably be better served actually inquiring about this on tectite.com there are a ton of resources on how to use the form processor and maybe something there in that regard.

Thanks!

I found a solution on this thread that along with any POST/GET action can switch states with the native forms of Webflow.

Thanks for the article. After configuring everything, this email arrives:

The following error occurred in FormMail:
no_recipients


Error = The form has an internal error - no actions or recipients were specified.

this is the link: http://www.gerbiostore.com.ar/formtest/index.html

Could you tell me what I’m confusing about? Thank you very much!

Same here… any ideas?

Same here…

The following error occurred in FormMail :
no_recipients


Error=The form has an internal error - no actions or recipients were specified.

I got it!

“Now in your webflow form block you simply insert an html imbed.” I was embedding the code before the <form>, not inside it.

I’m super happy with this Formmail solution, it seems to work pretty well on my exported site.

Thank you @adtastic

1 Like

Glad you were able to figure it out @PabloMontero . I use it on dozens of client sites with no problems. You can even add captcha. A little trickier put pretty straightforward.

Do you mean reCaptcha?

It was very easy to use webflow’s reCaptcha block and configure the settings. And it works great.

Do you use this option or do you follow the instruction of recaptcha from Tectite?
https://www.tectite.com/fmhowto/recaptchav2.php

@PabloMontero what did you do to get this script working? I set a DefAlert and all the form info comes through but as an error. I get an error on the page and it says this in the email:

The following error occurred in FormMail :
no_recipients


Error=The form has an internal error - no actions or recipients were specified.

What were your exact settings if you don’t mind telling me? I’m sure I’m doing one thing wrong and it’s creating the error. Thanks in advance for the help! About ready to pull my hair out :exploding_head:

Here are my settings:

HTML embedd: (I have tried putting it in the Form Block as well as in the Form itself. Tried with and without the $at_mangle)

<input type="hidden" name="recipients" value="myname@mywebsite.com">
<input type="hidden" name="good_url" value="http://www.mywebsite.com/request-call-success.html"><input type="hidden" name="bad_url" value="http://www.mywebsite.com/request-call-error.html">
<input type="hidden" name="subject" value="Inquiry from mywebsite.com Website">

Fields I changed in the php script:

442 $TARGET_EMAIL = array(EMAIL_NAME . "@mywebsite\.com");

445 $DEF_ALERT = "myname@mywebsite.com";

465 $AT_MANGLE = “&george@”;

In the form options in WF, I tried filling in the redirect URL as “/request-call-success” and also tried leaving it blank.

Action is: http://www.mywebsite.com/formmail.php

Method: POST

Well you figured it out. I was going to refer you to: https://www.tectite.com/vbforums/showthread.php?6320-The-following-error-occurred-in-FormMail-no_recipients which has a long-winded version of the answer you found.

WOW! Definitely going to add this! I’m going to add G-Suite for email service because my domains are through Google anyway. I hope this isn’t entirely off topic, but

Can you post forms to google sheets without coding scripts using O-Auth, refreshes, etc…?

For example, can anyone recommend a free, automated process to send gmail data containing info entered into this form to parse and post to a new google sheets row? At the volume I’m using it, Zapier would probably be free, but I want to avoid AS MUCH 3rd party usage as possible wherever possible.

AWESOME post! Thanks!

Hi Rdrr,

formmail.php

$TARGET_EMAIL = array($EMAIL_NAME . "@YOURMAIL\.COM$"); Notice the \
$DEF_ALERT = "mail@youradministrator.com";
$AT_MANGLE = "email@";
$TEMPLATEDIR = "  "; this field is not working for me, I don't know well the route of my client's server
$TEMPLATEURL = "http://www.myweb.com/fmtemplates/"; this field works good

HTML Embed Inside <form>

<input type="hidden" name="recipients" value="YOUR_REAL_EMAILemail@yourmail.com"> Notice the mangle "email"
<input type="hidden" name="good_url" value="http://www.yourmail.com/thanks.html">
<input type="hidden" name="bad_url" value="http://www.yourmail.com/error.html">
<input type="hidden" name="subject" value="Quote from your website">
<input type="hidden" name="mail_options" value="HTMLTemplate=mytemplate.htm,NoPlain,TemplateMissing=N/A" />

13

Finally, I formatted the email following Tectite indications.

Let me know if you get it!

Then all you have to do is upload that formmail.php file to the root directory where the webpage files are.

How do you do this?

//Edit: Turns out YOU CANNOT USE YOUR OWN FORM PROCESSOR on with webflow form.

TO USE PHP, YOU MUST EXPORT YOUR CODE and host elsewhere.
Once you do that, it’s NO LONGER A WEBFLOW FORM anyway HAHAHAAHAHA. This guy must be getting affiliate $ kickbacks.

@PabloMontero Got it working! I messed up the recipients in the html embed code. I should have wrote the email with the mangle included. (I think I tried it before without a mangle set in the php…should have worked then right?)

Anyways it’s working now and it’s better to have the mangle!

Also I’m curious, What are you using the template for?

Thank you so much for the help! This makes things 100X easier when hosting on a 3rd party server!

@adtastic Thanks for taking the time to post this! Super helpful! Was trying to find an easy solution for forms when using 3rd party hosting and this is the solution!

I’m pretty happy.

I’ve found this template:

https://tedgoas.github.io/Cerberus/

Now I’m curious about your project, can we take a look?