From 9887e3ec48d45a0ec1bc29adbc02460de949b838 Mon Sep 17 00:00:00 2001 From: veryspry Date: Thu, 9 Jan 2025 13:04:50 +0100 Subject: [PATCH] `gc-notion/gcn-populate-select.php`: Added video demonstrating how to get a Notion property ID and updated the docs header to include that the snippet also works with `Status` properties. --- gc-notion/gcn-populate-select.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gc-notion/gcn-populate-select.php b/gc-notion/gcn-populate-select.php index 76b76de75..356342f3d 100644 --- a/gc-notion/gcn-populate-select.php +++ b/gc-notion/gcn-populate-select.php @@ -4,7 +4,7 @@ * Gravity Connect // Notion // Populate Select Field with Notion Database Options * https://gravitywiz.com/documentation/gravity-connect-notion/ * - * Populate a Select or Multi-Select field with the options from a Notion Database Select + * Populate a Dropdown or Multi-Select field with the options from a Notion Database Status, Select * or Multi-Select property. * * Instructions: @@ -14,7 +14,8 @@ * 2. Change the $field_id, $database_id, and $property_id variables to match your form and Notion database. * * > 💡 The $database_id and $property_id can be found in the Javascript developer console in a GC Notion - * > feed settings AFTER the feed is connected to a database. + * > feed settings AFTER the feed is connected to a database. An video demonstrating how to get + * > a property ID can be viewed here: https://www.loom.com/share/30dd8d83750f424c8cf85a8f4dd8f5f7 */ add_filter( 'gform_pre_render_FORMID', function( $form, $ajax, $field_values ) {