Beschrijving
Adds a settings page and REST API endpoint to retrieve human- and computer-friendly field names.
See field-helper-for-gravity-forms.brilliantplugins.info for more documentation.
Looking to import Gravity Forms entries from your WordPress website into FileMaker?
Create nearly any form with Gravity Form’s drag-and-drop interface, and use this plugin to quickly import that form’s entry data to your FileMaker solution via fmFlare.
Usage
- Create a Gravity Forms API key.
- On each form, go to the Field Helper settings tab and set the friendly names for the fields you need.
- Append
/jsonto Gravity Forms’ form- or entry-related endpoints to get JSON field data. - Retrieve all entries:
https://your-site.com/wp-json/gf/v2/entries/json/ - Retrieve a specific entry:
https://your-site.com/wp-json/gf/v2/entries/<entry_id>/json/ - Retrieve all entries from a specific form:
https://your-site.com/wp-json/gf/v2/forms/<form_id>/json/ - Retrieve a specific entry from a specific form:
https://your-site.com/wp-json/gf/v2/forms/<form_id>/entries/<entry_id>/json/
If you need to use the friendly field names in PHP (using the gform_after_submission hook, for instance), follow this example:
// Assuming $entry is a single form entry. // You can retrieve an entry by id using GFAPI::get_entry( $id ); $entry_with_friendly_names = GF_Field_Helper_Common::replace_field_names( $entry );
Installatie
- Install and activate this plugin.
- Create friendly field names on the form settings page:
- Use the API endpoints to retrieve entries.
- The standard entry data is untouched.
- All named fields are added to a
fieldsobject in each entry object.
Beoordelingen
Bijdragers & ontwikkelaars
“Field Helper for Gravity Forms” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “Field Helper for Gravity Forms” in je eigen taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
