How To on using your own form processor with webflow form

I keep getting this error

The following potential problems were found in your configuration:
Warning: Your TARGET_EMAIL pattern “^” is missing a $ at the end.

I’ve added “$” to the end and it still doesn’t work.

$TARGET_EMAIL = array($EMAIL_NAME . "@ethanfoxdesign\.com$");
1 Like

not sure if it matters but the period looks out of place. $TARGET_EMAIL = array(EMAIL_NAME.“@myDomainName.com$”);

1 Like

After starting to get an increasing amount of spam, I decided to add reCAPTCHA to my form. I ran across this thread, which helped, but apparently not enough. I’ve added the pertinent entries, and the reCAPTCHA box shows up in the Designer, but not when I upload the files to the server.

Here’s the form HTML -

And here’s the formmail.php entry - (with a fake Secret Key :wink:)

/* Help: REQUIRE_CAPTCHA Setting /
$REQUIRE_CAPTCHA = “”; /
set to a message string if your forms */
// must provide a CAPTCHA string

/* Help: RECAPTCHA_PRIVATE_KEY Setting */
$RECAPTCHA_PRIVATE_KEY = “6Lc3OkMaYYsteDI1HiE_A9FnI-UXNSVtyv8bNw75”;

So it looks like it’s trying to work. Just wish I could get it across the finish line.

1 Like

@sebreme provide your read only link to the designer and I will take a look at the page.

1 Like

remove the redirect url from the form setting and it should work!

2021-02-22_9-32-10

1 Like

we generally can never help anyone troubleshoot their form without having a read only access to the designer. I usually won’t troubleshoot the actual form since it is too time consuming. That said when I’ve had issues in the past I couldn’t solve I usually just pay the 10 bucks or whatever it is and have the tectonic wizard build my form.php then I tweak it a little from there and it usually works.

1 Like

Wow! I’m not getting emails if someone replies here, so I wasn’t aware that you had. Sorry!!!

At any rate, I sorted it out eventually, though I couldn’t begin to tell you how I did. If I can remember I’ll post.

1 Like

This was helpful. For anyone else looking for the email address on line 442, it looks like that was moved to line 512.

1 Like

Tried this and can’t say it was a success. What did I do wrong?

First It shows this below the input field:

error1

Then it says again its not safe

And somehting…

error3

First, you should submit a read-only link so someone can troubleshoot this more easily Posting Guidelines for the General Category. Second, the form submit page should be on https which is why you are getting those security errors. The final error indicates you are not actually on the correct url when you submit the form. You should end up on a predetermined url page once the form is submitted for example on my form it is thankyou.html whereby I have language that the form is received and we’ll respond soon as possible. If you follow the instructions exactly the form will work.

Thanks for the fast reply and sorry about not having the link.

https://preview.webflow.com/preview/voima?utm_medium=preview_link&utm_source=designer&utm_content=voima&preview=cfe0039626ddd1ca82126a353a8bc768&pageId=624ab5feaa9c1f2358b96d30&workflow=preview

I’ve exported the site and I’m testing it on my friends site - which is https…?

About those redirect pages. I missed them, but they’re on there now and getting the same errors

Ok. Not I got the security errors off! There was something old stuff left in embed div.
Now it shows the last error - but I got the success and failure pages…?

So close :smiley:

success and failure pages go nowhere since it is a default/fake domain: http://www.yourdomain.com

I fixed that but nothing

these are not a real domain. Short of that, not sure what is the problem. Occasionally I’ve had an issue trying to get it to work I couldn’t solve. But when I go to tectite.com and pay the small fee to use the wizard and build it that way I’ve been able to make it work. Just a thought.

ummm I’m not following. There are real adresses in the hidden input fields in the form - if that was what you were referring?

yourdomain.com is not a real url. It is a placeholder url.

And I’ve fixed that already. There are no placeholders anymore.

form should work then. Not seeing anything else that is a problem. Can only troubleshoot so far without being able to actually manipulate the code. Only thing I can suggest is to use the wizard on tectite.com.

Hmm ok thanks. I’ll try that.