Giter Site home page Giter Site logo

pods-framework / pods-gravity-forms Goto Github PK

View Code? Open in Web Editor NEW
61.0 29.0 13.0 2.36 MB

Integration with Gravity Forms plugin for WordPress (https://pods.io/gravityforms/)

Home Page: https://wordpress.org/plugins/pods-gravity-forms/

License: GNU General Public License v2.0

PHP 93.59% JavaScript 1.34% PLpgSQL 4.14% Shell 0.93%
pods gravity-forms wordpress-plugin integration pods-addon

pods-gravity-forms's Introduction

Pods Gravity Forms Add-On

Pods Gravity Forms

Requirements

How To Use

  1. In the Pods Admin, create your Pods and Pod Fields

    Pods Admin -> Add New

    Pod Edit Screen

  2. Create your Gravity Form that will be used to create your Pod item

    Gravity Form editor

  3. Create a Pods feed, to map your form fields to your Pods fields

    Form Settings->Pods menu

    Pods feed page

  4. In Pods Feed, map Gravity Form fields to Pods fields

    Map form fields to Pod fields

  5. After a form submission, a new Pod item ID will be created.

    Example Gravity Form filled out

    New Pod item created from form submission

  6. And the Pod item ID will be saved with the Gravity Forms entry information.

    Form entries page showing Pod ID

pods-gravity-forms's People

Contributors

coder-unknown avatar dependabot-preview[bot] avatar jamesgol avatar jimtrue avatar joryhogeveen avatar mgratch avatar naomicbush avatar pglewis avatar quasel avatar ramoonus avatar sc0ttkclark avatar sclark3-godaddy avatar shelob9 avatar travislopes 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pods-gravity-forms's Issues

Feature Request - option for gravity form submission to update existing pod entry

I am building a front end system for allowing registered users to build a complex profile that consists of multiple types of pods data stored in multiple pods tables.

I am using Gravity Forms to populate those pods entries but I would also like to use Gravity Forms to replace the pods entry edit forms as well so I can have a more streamlined user interface.

Is there a simple mod I could make to accomplish this?

Or are there any module functions I could extend in the site functions.php file to update a pods record instead of creating a new one when a valid pods record id is present?

Thanks.

Author Field Not Filling In

I'm currently using the gravity forms pods integration to allow members to create posts easily. However, no matter what I do, I can't seem to get the author feed to work.

I first tried using the supplied method... I know that you can select the check box under DEFAULT POST AUTHOR, that says USE LOGGED IN USER AS AUTHOR, however, even when that box is checked, it seems to always set the author as whatever author is listed in the drop down menu directly above that. So for example, using this solution, if I use gravity forms to create a pods custom post, when the 'use logged in user as author' box is checked (screenshot below), the author for the word post in the example below would end up being 'admin' because that's whats in the drop down. If I change the drop down to something else, then the author would be that name instead (even if the box is checked).
image

Next... I also tried to manually set the author by creating a hidden field that I preset the default value as the logged in user, and then in the pods feed, set that field to fill in the author spot. When I try going this route, the correct information comes over in the gravity form as well as the email confirmation sent from gravity forms. I am able to see the correct user that filled in the form / created the post... however, in wordpress, the author field is blank (see screen shots below). Please note, I tried this numerous ways, setting the default value as: User Display Name, User Email, and User Login. None of them worked.

I also tried changing the Post Status under general setting to see if 'pending review' was causing the issue. Again, nothing I have tried works.

Your help would be appreciated. I currently have it set so that each premium user as a portal area where they can manage their posts, however, they can't see posts that they're not technically the author of, which means I have to go in and manually set the author each time.

For what it's worth, I am able to use this second method to fill in a custom pods field with the logged in user info. Just can't get it to populate in the author field. The author field always shows up blank.

image

image

image

dublicate posts if form has more than one step

hello there,

on
wp 4.0
gf 1.8.18
pods 2.4.3
Pods Gravity Forms Add-On 1.0 Alpha 8

if we create form with two steps for example (make steps with page break) and map this form with our pods.
on the 1st step of our form a new post has been inserted in our pods - no problem
on the 2nd step also the same data has been inserted in our pods

thanks.

Not listed in components

I've got this plugin uploaded, activated and added define( 'PODS_DEVELOPER', true ) to my wp-config but still can't see this listed in my components. Does it show up elsewhere?

Pods Gravity Forms 1.0 release

Making a list of things that aren't working that we want to work for 1.0 release.

  • Delete entry after submission
  • Post Image doesn't map to Featured Image for Post
  • Custom Taxonomy doesn't map like Relationship Fields (see #37 )
  • GF Euro Currency (at GF level) doesn't map to Pods Currency EU Field (comes over as 0,00) (see #34)
  • Add FAQ (where folks go for Support, etc.)

Unable To "Fetch" Custom Taxonomy's Term List Using PODS Feeds

I'm unable to get the custom taxonomy's values by using the pods feed.

It does work with simple relationship and advanced relationship fields, correctly getting all the values, but not for taxonomies. This happens in the dropdown field, where we can either add our own options to the selections, or fetch them through the associated pod feed.

The taxonomy is correctly mapped in the feed, but I get the default choices of gravity forms, instead of the available terms of the custom taxonomy (whereas when using relationship fields I'm able to get all the correct values).

In more detail:

That means that e.g. I'm able to pass the right term in my form, it will map correctly. But this means that either a) I have manually listed all my options from within GF's dropdown (which is unusable, many taxonomies might have hundred of terms, as well as get bigger / change frequently), or b) "guess" the term, and type it. It will map correctly. (of course unusable for UGC as well)

Sub-Issue

I guess this should be in here as well, I can't get default dynamic values in the fields. (for example auto complete certain taxonomies, based on the current post's terms.) I'm guessing these issues are interrelated, so I'm dropping this one here as well. (default values will work, for example hardcoding with text a term. when trying to use either GF's dynamic filters or even custom php functions, it won't get the expected result)

Post Title Field Doesn't Update and Post Status stays as Draft regardless of Pods Settings

The Gravity Forms' "Post Title" field won't work with PODS & GF plugin. It is unable to pass any values (tested the Title & Status, which I find the most important, but I'm guessing it doesn't work with any values whatsoever).

I managed to use the Gravity Forms + Custom Post Types (https://wordpress.org/plugins/gravity-forms-custom-post-types/) plugin, which successfully updates the Post Status & Title values, BUT conflicts when used with GF & PODS plugin. (If a PODS feed is configured inside the form, the GF + CPT plugin will stop working on the Title & Status values).

Conflict between Pods and Gravity Form (total price item)

Hello !

I have a problem with Pods and Gravity Form.

Easiest with an example : [http://www.ffyb.be/boutique-ffyb/]

When i add item in the form, i don't see the total price increase still at 0, after few test ( desactivate a lot of plugins ) seems to be PODS the problem, i try to desactivate some JS of PODS to prevent the error.

I tested: WP_DEBUG -> nothing, JS problem console-> nothing

PS : Pods is use for the Carousel of partners

Thanks in advance !

GF private methods used

GFFormDisplay::has_pages and GFFormDisplay::get_js_redirect_confirmation are private Gravity Forms methods

Pod not found - message

I installed the pods-gravity-forms plug in per the instructions on this site. It appears that I have activated the plug-in. But when I highlight the components - gravity forms I get the Pod not found message. Is there something that I can do to move forward?

Are there instructions on manually coding the needed mappings?
I will be linking to Advanced Content Types on my forms.

Eliz

Doesn't work with upload files

I'm tryiing to use a form with 3 max uploading files in Gravity forms (files are well upload on GF upload folder "wp-content/uploads/gravity_forms/x-xxxxxxxxxxxxxxxxxx/yyyy/mm").

But they are not save in pod record.
Is this functionnality working for someone ?

I've found another plugin with a piece of code that works on the POST['gform_uploaded_files'] var sent by GF on this page : https://gist.github.com/mmages/2417219

Thank's for your plugin this works well for other fields than uploaded files!

Multi-Select relationship field not being updated

We have a problem with the use of the Pods Gravity Forms Add-On.

When we have a multi-select field which represents a relationship to another Pod, only the first item in the multi-select list gets accepted.

Software Versions
We are using WordPress Version: 4.4.2 with these plugins:
• Gravity Forms: 1.9.17.5.
• Pods - Custom Content Types and Fields: 2.6.1.
• Pods Alternative Cache: 1.0.
• Pods Frontier Auto Template: 1.2.1.
• Pods Gravity Forms Add-On: 1.0.

The Business Need
The aim is to enable the users to create a Project and invite people to Volunteer for that project. We therefore have a many-to-many relationship between Projects and Volunteers.
When we display a Project, we want to include in the display a list of the volunteers that have signed up for that project. Similarly, when we display a Volunteer, we want to include in the display a list of the projects the volunteer has signed up for.

Pods Definitions
We have defined 2 Pods Custom Post Types:

  1. Special Projects.
  2. Special Projects Volunteers.
    The Special Projects Pod includes a field called special_projects_volunteers which is defined as a Bi-directional Field which links to the Special Projects Volunteers Pod. This is defined as a Multiple Select Checkboxes field.
    The Special Projects Volunteer Pod includes a field called special_projects which is defined as a Bi-directional Field which links to the Special Projects Pod. This is defined as a Multiple Select Checkboxes field.
    The Special Projects Pod has a custom taxonomy called Special Projects Category and the Volunteers Pod has a custom taxonomy called Job Role. Each project can have only one category and each Volunteer can have only one job role.

Using Pods
We can successfully create new instances of Projects and Volunteers and establish many-to-many relationships between them via the WordPress backend.
We can successfully display projects and volunteers and follow the links from a project to a volunteer or from a volunteer to a project. The displays are presented using Pod templates.
We want to use Gravity Forms to provide a user-friendly front-end to enable authorised users to submit a new Project or to sign up as a Volunteer.

Gravity Forms Definitions
There are 2 Gravity Forms forms:

  1. Submit a Special Project Form.
  2. Sign Up as a Special Projects Volunteer Form.
    The Submit a Special Project Form includes a field which is defined as a Checkboxes field with Allow field to be populated dynamically and a parameter name of special_projects_volunteers. This is the name of the relationship field defined within the Special Projects Pod. Populate Related Items has been selected and a Pods Feed has been defined.
    The Sign Up as a Special Projects Volunteer Form includes a field is defined as a Checkboxes field with Allow field to be populated dynamically and a parameter name of special_projects. This is the name of the relationship field defined within the Special Projects Volunteers Pod. Populate Related Items has been selected and a Pods Feed has been defined.

Use of Pods Gravity Forms Add-On
We are using the Pods Gravity Forms Add-On to handle the mapping between each of the Gravity Forms form fields to the appropriate Pods field.
There are 2 Pods Feeds defined:

  1. Submit a Special Project Form has a Pods feed called Special Projects Feed.
  2. Sign Up as a Special Projects Volunteer Form has a Pods feed called Special Projects Volunteers Feed.
    This is working very well and we can even present the user with a selection list for the custom taxonomy, i.e. the Project Category or the Job Role. The user can select any one of the categories or job roles as required and that data is stored in the Pod.
    The list of related Pods items is also presented. However, when the user makes a selection from that list, only the first item on the list is stored in the Pod – the other items are ignored. If the user makes a selection other than the first item on the list, nothing is stored.

Here is an example:

  1. We have created 2 projects: Special Project 1 and Special Project 2.
  2. We have created 2 volunteers: Volunteer 1 and Volunteer 2.
  3. We then submit a new project for Special Project 3 using a Gravity Forms form.
  4. The form shows Volunteer 1 and Volunteer 2 as being available to be assigned to the project.
  5. If we select both volunteers, only Volunteer 1 is stored.
  6. If we submit a new project for Special Project 4 and select Volunteer 2, that selection is ignored and no volunteer is stored.
    If we edit a project using the WordPress backend, we can select any number of volunteers and the updates will be stored correctly.

I've attached 2 TXT files: a JSON export of the Pods configuration and a JSON export of the Gravity Forms configuration.
gravityforms-export-2016-03-19.json.txt
pods-export-2016-03-19.json.txt

MP3 fields causing WordPress to crash

I have a gravity form and pod with an MP3 field. If I map them, on submitting the form I receive a 500 error from WordPress.

The entry in GF is created and the MP3 gets uploaded - but the POD fails to get generated. Therefore I'm assuming it's this plugin causing the 500 error.

Advanced Fields / Address

Hi -
Not sure if this is known or a bug;

When trying to use an Advanced Field, address to be specific, it will capture the data if the "Full Address" field is selected in the Pods Feed; however, it will not capture any data if a single component (ie. address line) is selected in the Pods Feed.

address_field
issue

how to get id of pod created in form

im guessing POD ID is the new id of the created pod from the form.
except it always returns 0.
I am trying to get the pod id that gets created so i can do more stuff with it after the form is submitted...

How to use Pods_GF manually

Pods_GF is the main class

add_action( 'gform_pre_process_{form_id}', 'your_gf_mapping_config' );
// or
add_action( 'gform_pre_process', 'your_gf_mapping_config' );

The action has one array passed to it: $form; To target one form you can use a statement like :

if ( 3 == $form[ 'id' ] ){
    // config for form 3
}

It's important to have your config defined in that action.

$options = array(
    'fields' => array(
        '1' => 'pod_field_name', // GF field ID or $_POST name, mapped to a pod field
        '2' => array(
            'field' => 'pod_field_name'
        ),
        // All fields processed, even if not found/set in GF/$_POST
        '_faux' => array(
            'field' => 'pod_field_name',
            'value' => 'Manual value to use'
        )
    )
);

$pods_gf = pods_gf( 'pod_name', $form_id, $options );

Field options in the field array are:

'gf_field' => '1', // set different field id than field array key
'field' => 'pod_field_name', // field name on pod
'value' => 'custom value', // manual override of the value, useful to save other fields to the pod, that aren't sent from form, or to force a value to be used

All written up by @sc0ttkclark; just re-formatted and posted here for myself and others to gets some headstart into the code.

File includer

Merge in file includer code I built, fix handling of individual includes of form files on submit

Form entry ID not available to be saved in pod?

I configured a pods feed for a form and wanted to store the original gf form entry id in a pods field. I mapped the pod custom field "GF entry id" to form field "Entry ID". However it doesn't get saved. The field for the pod record is saved empty.

Pods field was marked as required, tried both plain text and plain number, though it didn't make a difference. Even though the pod field was marked required, the record still saved with an empty value for "GF entry id".

Pod type: custom post type.

If someone could verify that this is an issue, that'd be great.

pod feed disapeared

I am not sure how this could have happened.. to remedy I have deleted the files, and re-installed the version of this add-on available today... I then deleted the pods cache, created a new form in Gravity and the pods feed is still not available..? An existing form that I setup and did link to a pod does not have that feed menu option either.. its as if the plugin is turned off.. The pods-gravity-form plugin is active, and I even posted data from my original form to pods.. however, a new form will not provide the pod feed so I can select any new mappings..!??

Does not work with List field

Hello,

When using a list field, no values are passed over. In addition, it creates multiple posts, one for each list line item submitted.

Very helpful plugin though. Thanks for the work on it.

P.S. -
WP version 4.3.1
Gravity Forms 1.9.14
Pods 2.5.5

Doesn't work with "name (full)" advanced field

name (first), name (last), can be mapped properly, however name (full) throws an error. I believe it's caused by the fact that gf is passing it as an array rather than a concatenated string.

Can't process form

Haven't been able to get this to work yet on two different sites.

I submit the form and then it says: "Either Pod ID or Name are required"

Not sure what we need to do on our end to make this actually work.

We are trying to just set the title and body of a Post and a Page. Trying to run two of these at the same time but even when we try one we get the same error. We have the most recent versions of Pods, Gravity Forms, and the Pods Gravity Forms plugins.

It did process the entries into Gravity Forms, but nothing happened for the Pods.

drop down or selection fields

I have been searching throughout for a “drop down” or selection field type. Am I just overlooking this or is there a special way to implement this. I would assume that a selection field would be standard; am I barking up the wrong tree?

submision broken Error: "parameter 1 to be string, array given in"

I am getting this error:
"Warning: strlen() expects parameter 1 to be string, array given in /home/server/public_html/test/wp-content/plugins/pods/classes/fields/text.php on line 202"
is shown more than once on a form submision, I am almost sure that is related to combo boxes, radio or checkboxes in the form but I am selecting/passing only one value each time while filling the form, I am using text fields on my database table ( I am using pods to store on an external table)

I know that this is a free plugin and I am very grateful but I wonder if somebody got the same issues and know a fix least know a temporal tweak to making it work until a future release

or at least Is there any way to know what fields are causing the issue? is happening on a long form

post_title remains empty

I have a pod with a few fields.
I have Grafivity Forms (with the pods addition) where i store and map the filled form to the pod.

All fields work except the Title (post_title) name?

Any suggestions?

Clicking Submit AJAX hangs or Error with Submission: Pods_GF not found.

From Forum Post on Pods.io:
http://pods.io/forums/topic/pods-gravity-forms/

I am having problems with PODS and Gravity forms, I have been through a process with GF support, who have directed me back to you guys here at PODS.

We have been through the process of unwinding themes, plugins etc for conflicts and there are apparently none.

The site is now setup in debug mode and with PHP / MY SQL error messages enabled.

THE PROBLEM: When clicking the submit button, the form hangs, showing an Ajax wait counter. The form never progresses. When submitting a form in the PODS preview area, the form goes to an “error with submission” state.

The data does however appear to upload.

In Debug mode, using a GF form on the front page, WP yielded the following error messages:

“500 Internal Server Error” and, on a separate page with a contact us error: FYI – Not sure if this sheds any light.

Later on, while in discussion with PODS, I added a third contact form to this page http://www.expediteresourcing.com/contact-us/

When completing the form, it yielded this error message.

Fatal error: Class ‘Pods_GF’ not found in /customers/8/b/6/expediteresourcing.com/httpd.www/wp-content/plugins/pods-gravity-forms-master/includes/Pods_GF_Addon.php on line 189.

Having spoke to the GF support guy, he recommends talking to PODS on this as per the message above.

Thanks in advance.

Title in Custom Post Type

Hi, all

Encountering an issue where Gravity Forms fields mapped to the title field of a CPT created in Pods doesn't save. Other fields, both stand post object fields (content) and custom fields are saving correctly, but the title does not. I've reproduced the issue on two different sites.

Pod fields not showing

I couldn't of come across this new feature at a better time.

I have the package contents installed and activated. I'm assuming I should now see my Pod Fields under the custom field menu in Gravity Forms. I don't see any of the Advanced Content Types I created. Should those be showing here as well? Am I doing this all wrong?

I also want to be clear that this could be used to add entries to a pod item via Gravity Forms.

Thank you.

Time fields not handled correctly *fix inside*

Problem occurs when mapping a 12h "time" GF field to a 12h "time" PODS field. You can see the correct time in the GF entry, but the PODS entry will contain the submission timestamp instead of whatever your user input.

The problem is due to the way GF stores Time objects (10:20PM would be ['10','20','pm']). The PODS "time" type cannot handle that type of input, so it gives up and grabs the current timestamp.

I did a quick hack to get it working inside includes\pods_gf.php, in function get_gf_field_value.

On line 2879 of pods_gf.php, add


} elseif ( in_array( $gf_field->type, array( 'time' ) ) ){

$value = $value = $value[0] . ":" . $value[1] . " " . $value[2];

While this fixes it for now, I would love to see this patched so I don't lose it when the plugin updates.

Other than that, great job on the plugin. Makes my job a lot easier.

Cannot save Address

I cannot seem to save or get an Address field into pods in any way. Either throws an error or just doesnt save.

Pre-Populate GF with PODS Data

I have modified the following code snippet from an iThemes Training class on pre-populating gravity forms:

// Prefill with User Data
function populate_usermeta($meta_key){
global $current_user;
return $current_user->__get($meta_key);
}
add_filter('gform_field_value_userfirstname',
create_function("", '$value =
populate_usermeta('user_firstname'); return $value;' ));
add_filter('gform_field_value_userlastname',
create_function("", '$value =
populate_usermeta('user_lastname'); return $value;' ));
add_filter('gform_field_value_useremail',
create_function("", '$value = populate_usermeta('user_email');return $value;' ));

The above code snippet pre-populates data from the current logged in user (user_firstname, user_lastname and user_email), however when I modify the necessary fields to pull data from POD of extended user, I get no values returned. The above snippet works perfect for First Name, Last name and email on a new form (created to just test code)

// Prefill with User Data
function populate_usermeta($meta_key){
global $current_user;
return $current_user->__get($meta_key);
}
add_filter('gform_field_value_deptname',
create_function(" ", '$value = populate_usermeta('departmentname'); return $value;' ));
add_filter('gform_field_value_deptid',
create_function(" ", '$value = populate_usermeta('departmentid'); return $value;' ));
add_filter('gform_field_value_billing',
create_function(" ", '$value = populate_usermeta('billingsite');return $value;' ));

My POD is an extension of User and only contains the three fields above and my GF form is set to accept the values: deptname, deptid, billing).

Basically, I have custom fields that are added to user to show Department Name, Departing ID and Billing site, when the user logs in to submit an incident via GF, we want their department name and ID to be pre-populated to save the department from having to type that information on every incident.

Hope this information help, and feel free to inquire with any more details needed.

Edit Current User when using Pods GF feed for User pod

/**
 * Tell Pods GF add-on to edit an item instead of creating one
 *
 * @param int    $edit_id ID to edit, default it's empty to create a new item
 * @param string $pod     Pod name
 * @param int    $form_id Form ID
 * @param array  $feed    Feed configuration array
 * @param array  $form    Form information
 * @param array  $options Additional options for the Pods feed
 *
 * @return int
 */
function pods_gf_addon_edit_id_current_user( $edit_id, $pod, $form_id, $feed, $form, $options ) {

    // @todo Edit the form ID here!
    if ( 3 == $form_id ) {
        $edit_id = get_current_user_id();
    }

    return $edit_id;

}
add_filter( 'pods_gf_addon_edit_id', 'pods_gf_addon_edit_id_current_user', 10, 6 );

Relationships to PODS

I have a user registration pods that ties companies to users through a relationship.
How would I go about showing the company pods in the Gravity Form Section?

(Sorry Figured it out thanks)

Add option in Pods GF feed config to set ID / Slug of item via Magic Tag for use in editing item

Just like Pods forms has, we should have a text field that the dev can hardcode an ID or slug of an item on that pod to be edited on submit.

Also just like Pods forms has, we want that value to allow a special magic tag to allow values like:

  • {@get.edit_ID} (?edit_ID=123)
  • {@post.edit_ID} ($_POST['edit_ID'])
  • {@url.last} (mysite.com/some-page/my-slug/)
  • {@url.2} (mysite.com/some-page/my-slug/another-slug/)
  • {@user.ID} (current user ID, if logged in)
  • {@cookie.SOME_VALUE} ($_COOKIE['SOME_VALUE'])
  • {@pods.id} (global $pods object with an ACT item in it)
  • {@globals.my_edit_id} ($GLOBALS['my_edit_id'])
  • {@post_id} (current post ID on page)
  • Add new field to feed config form
  • Add option to prepopulate fields from that item

error with new gravity form 1.9

I get an error Pods_GF_Addon::field_map_title is deprecated since version 1.9! Use public access level instead.
Also if gravity forms is not installed this plugin throws an error

Feed UI

Add Feed UI from GF Add-on framework

Creating two ACTs with one GravityForms submission

Hi guys.

I have more of a question than an issue. I am currently able to create a new ACT when the GravityForm is submitted without any problem.

What I would like is to create additional ACTs with the same single submission of the GravityForm. Specifically, the B&B reservation and the B&B guest. Those are two separate ACTs in my setup.

I tried calling pods_gf twice, but it only creates the first ACT called. For example:

$pods_gf1 = pods_gf( 'reservation', $form, $options1 );
$pods_gf2 = pods_gf( 'guest', $form, $options2 );

With the above, only the reservation ACT gets created. Not the guest ACT.

I also tried calling the add_action twice instead, but had the same results:

add_action( 'gform_pre_process', 'pods_to_gf1' );
add_action( 'gform_pre_process', 'pods_to_gf2' );

Thanks for any help you can provide. I've just donated another $20 to Pods, and can't thank you enough for this great tool.

P.S. I would also like to create a new relationship within the "wp_podsrel" table to relate these two fields. Do you have a suggestion on where in my code I'd want to run that MySQL command? Thanks again.

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.