Gravity Perks // File Renamer – For every field
/** * Gravity Perks // File Renamer // Apply Rename to Every Field * https://gravitywiz.com/documentation/gravity-forms-file-renamer/ * * This applies GPFR to every single field, no matter if there is a “template value” set for the field or not. * * This is useful when combined with “gpfr_filename_template” filter to automatically apply the filtered template * […]
To dynamically change recipient of a Gravity Form
You can pass an ID to the form. e.g. /my-page?ID=1223 The form can have a hidden field for the ID. This code in functions.php can then change the email address: // To determine which Councillor/Officer should receive the email. add_filter( ‘gform_notification_7’, ‘sws_change_destination_email’, 10, 3 ); function sws_change_destination_email( $notification, $form, $entry ) { $councillor_id = rgar( […]