Git Product home page Git Product logo

fieldbookforgravityforms's Introduction

Fieldbook for Gravity Forms

A Gravity Forms add-on for integration with Fieldbook

How to Use

This documentation assumes you already know how to install and use a WordPress plugin and Gravity Forms. Also assumed: you know how to use Fieldbook.

The plugin requires that you have a Fieldbook API key. To generate a key, click the "API" link in the upper-right corner of a Fieldbook sheet, then click "Manage API Access" and copy the Base API URL. Then, click "Generate a new API key." Copy the API key and password that is generated.

Once you have your API key and secret, log in to your WordPress admin interface. Under the "Forms" menu, go to "Settings," then paste in the Base API URL, API key and password, and then click "Update Settings."

For any form you build, you will see a "Fieldbook" option listed under each form's settings. Select whether you want the Fieldbook feed to only create new records, or update existing records. Then, choose your fieldbook sheet, and map the fields from your Fieldbook sheet to your form fields.

If you chose the Update option, you will also need to map which fields in Fieldbook should match the data fed from your form. This helps Fieldbook for Gravity Forms find the record that needs to be updated. For example, if you have a "Name" column in your Fieldbook sheet, where each name is unique, Fieldbook for Gravity Forms will search for a record with a matching name and update that record upon form submission. To make that match happen, you would specify the name field in both your form and your Fieldbook sheet. If a matching record is not found, a new record will be created.

You may need to create more than one Fieldbook feed if form submissions use fields that can be found in more than one sheet. For example, a donation form may need to create new records in your Donations sheet, but update existing records in your Donors sheet. Be careful in these types of situations and understand that the order that you create your feeds matters. To use the donation form example, make sure to create the "donors" feed first, then the "donations" feed after that. The reason: each donation must include a link to the donor. Fieldbook for Gravity Forms executes its feeds in the order they are created. If a donor doesn't exist when the donation record is created, then the donation record will not be linked to the proper donor.

Pull Requests Welcome

This add-on makes use of the Phieldbook PHP client for Fieldbook, which I also wrote. If there are updates you would like to see to Phieldbook, please feel free to submit your Pull Requests to the Phieldbook repository.

For anything else related to Fieldbook for Gravity Forms, including the functionality or this terrible documentation, please feel free to submit your Pull Requests to this repository. Your submissions are welcome.

API References

What's new in v1.1.0

  • Breaking Change Support for using multiple key fields through a key field mapper.

Credits

Thanks to the people at Fieldbook, @jasoncrawford in particular; and to @carlhancock at Gravity Forms for your feedback and advice along the way.

fieldbookforgravityforms's People

Contributors

joeventures avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.