Skip to content

Instantly share code, notes, and snippets.

ktrusak

Block or report user

Report or block ktrusak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:e62b84d7d4122d59ea92
<?php
add_action("gform_after_submission_23", "add_the_home_chapter", 11, 2);
function add_the_home_chapter( $entry, $form ){
$id = gform_get_meta( $entry['id'], 'salesforce_id' );
$chapter = $entry["34"];
$api = GFSalesforce::get_api();
$fieldsToUpdate = array (
You can’t perform that action at this time.