GithubHelp home page GithubHelp logo

getshifter / wp-serverless-forms Goto Github PK

View Code? Open in Web Editor NEW
32.0 11.0 14.0 365 KB

Replace PHP form actions with API and Webhook driven services such IFTT, Basin, FormKeep, Formspree, custom Endpoints and more.

Home Page: https://getshifter.io

PHP 65.53% JavaScript 34.47%
api mail http contact-form-7 cf7 serverless-forms serverless webhook basin formkeep

wp-serverless-forms's Introduction

WP Serverless Forms

Replace PHP form actions with API and WebHook driven services such IFTT, Basin, FormKeep, Formspree, custom Endpoints and more.

Major features in WP Serverless Forms include:

  • Works on both Serverless Static WordPress Sites and Dynamic PHP hosted sites
  • Support for Contact Form 7, Gravity Forms
  • Works with providers such as IFTT, Basin, FormKeep, Formspree and many more.
  • Supports custom HTTP Endpoints and WebHooks

Requirements

  • Requires at least: 4.8
  • Tested up to: 5.3.2
  • Requires PHP: 5.4

Installation

Upload WP Serverless Forms to your WordPress site, Activate it, navigate to WP Serverless Forms options under the Admin settings section on your WordPress Dashboard and add your custom HTTP Endpoint.

wp-serverless-forms's People

Contributors

emaildano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-serverless-forms's Issues

Status?

Has anyone tried this this year? Is it currently working?
What version of gravity forms has it been known to work with?

Firstly it seems to be forcing my endpoint to contain https, which means i cant set a "relative url" (having to manually edit files after static generation)

I have a site Statically generated with WP2Static:

Wordpress version 5.6
Gravity forms version 2.4.22
wp-serverless-forms version 1.3.2 (downloaded from this repository, even though it appears to show in wordpress as 1.3.1 still? root php file still says 1.3.1)

I have an Express NodeJS app accepting the form POST, and it appears to be getting blank information:
as seen in https://github.com/cdeadspine/nodemailer-contact-form

Express is running bodyParser.urlencoded and bodyParser.json
with apparently nothing coming through

        console.log("Params:")
        console.log(req.params)
        console.log("Query:")
        console.log(req.query)
        console.log("Raw body:");
        console.log(req.body);
        console.log("Templated:");
        console.log(mailOptions.html);

Params:
{}
Query:
{}
Raw body:
{}
Templated:
<p>Form submission</p>
<p>{}</p>

Perhaps there is something I don't know about FORM submission? Such as a different method than application/x-www-form-urlencoded?
But the following test works properly using powershell

$Form = @{
    firstName  = 'John'
    lastName   = 'Doe'
    email      = '[email protected]'    
    birthday   = '1980-10-15'
}
Invoke-WebRequest -Uri http://localhost:$($port)$($path) -Method Post -Body $Form

CORS Issue?

Hello, we tested the plugin with CF7 and for some reason submitting the form fails.

As per the console, it is due CORS issues? Is the problem with the plugin or with the endpoint?

Thank you for advising!

Using CF7 with Mailchimp

Proposed Question: If your theme include CF7 as the contact form plugin and you want to provide users with an option to add entries to Mailchimp, how would we do that?

Webhooks Broken

Attempting to use a webhook endpoint, but receiving "Oops! There was an error."

How to set endpoint for a specific form

Scenario: WordPress page with a contact form and newsletter signup form.
I'd like to set the contact form to formspree endpoint and the newsletter to mailchimp.
Any plan to support this?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.