{"id":91094,"date":"2018-09-09T01:44:51","date_gmt":"2018-09-09T01:44:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/gravity-forms-dynamic-fields\/"},"modified":"2018-09-13T13:00:22","modified_gmt":"2018-09-13T13:00:22","slug":"gf-dynamic-fields","status":"publish","type":"plugin","link":"https:\/\/hau.wordpress.org\/plugins\/gf-dynamic-fields\/","author":7795090,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3","stable_tag":"trunk","tested":"4.9.29","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Gravity Forms Dynamic Fields","header_author":"zaus","header_description":"Dynamically fill fields with session, cookie, or other values, based on 'Forms: 3rdparty Dynamic Fields'","assets_banners_color":"","last_updated":"2018-09-13 13:00:22","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/drzaus.com\/donate","header_plugin_uri":"https:\/\/github.com\/zaus\/gf-dynamic-fields","header_author_uri":"http:\/\/drzaus.com","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1474,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>N\/A.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1940711","resolution":"1","location":"plugin"}},"screenshots":{"1":"Configuring Gravity Forms advanced field setting 'allow field to be populated dynamically'"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[358,361,1655,9775,14950],"plugin_category":[42],"plugin_contributors":[80258],"plugin_business_model":[],"class_list":["post-91094","plugin","type-plugin","status-publish","hentry","plugin_tags-contact-form","plugin_tags-form","plugin_tags-gravity-forms","plugin_tags-gravityforms","plugin_tags-session","plugin_category-contact-forms","plugin_contributors-zaus","plugin_committers-zaus"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/gf-dynamic-fields.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/gf-dynamic-fields\/trunk\/screenshot-1.png?rev=1940711","caption":"Configuring Gravity Forms advanced field setting 'allow field to be populated dynamically'"}],"raw_content":"<!--section=description-->\n<p>Insert cookie, session, page, or other kinds of values dynamically into Gravity Forms fields.<\/p>\n\n<p>Similar to how <a href=\"https:\/\/wordpress.org\/plugins\/forms-3rdparty-dynamic-fields\/\">Forms: 3rdparty Dynamic Fields<\/a> can insert dynamic values into the 3rdparty submission.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip, upload plugin folder to your plugins directory (<code>\/wp-content\/plugins\/<\/code>)<\/li>\n<li>Make sure Gravity Forms is installed<\/li>\n<li>Activate plugin<\/li>\n<li>Create or edit a Gravity Form -- under the 'Advanced' tab of a field, check \"allow this field to be populated dynamically\".<\/li>\n<li>Set the ensuing 'Parameter Name' field to one of the registered placeholders:\n\n<ul>\n<li><code>session_desiredkey<\/code> where 'session_' is a prefix indicating you want a Session value and 'desiredkey' is the index of which Session value to retrieve<\/li>\n<li><code>cookie_desiredkey<\/code> where 'cookie_' is a prefix indicating you want a Cookie value and 'desiredkey' is the index of which Cookie value to retrieve<\/li>\n<li><code>param_desiredkey<\/code> where 'param_' is a prefix indicating that you want a URL query parameter (or form POST) and 'desiredkey' is the index of the request parameter to retrieve.  Gravity Forms actually already does this, but it's included for consistency and this <code>param<\/code> will also check for POST parameters.<\/li>\n<li><code>page_url<\/code> gets the current WP page url<\/li>\n<li><code>page_url_nodomain<\/code> gets the current WP page url without the site domain (i.e. relative path)<\/li>\n<li><code>page_url_domain<\/code> gets the domain of the current WP page url without the relative path<\/li>\n<li><code>page_url_network<\/code> gets the network domain of the current WP page (useful with multisite); may be the same as <code>page_url_domain<\/code><\/li>\n<li><code>page_referer<\/code> attempts to get the current referring url<\/li>\n<li><code>page_request<\/code> gets the server-generated page url (which may\/not be the same as <code>page_url<\/code>, such as containing the querystring)<\/li>\n<li><code>page_ip<\/code> attempts to get the client's ip address<\/li>\n<li><code>time<\/code> gets the current timestamp<\/li>\n<li><code>date<\/code> gets the current ISO formatted date<\/li>\n<li><code>time_local<\/code> gets the current timestamp formatted to your local settings<\/li>\n<li><code>date_local<\/code> gets the current date formatted to your local settings<\/li>\n<li><code>sitename<\/code> gets the blog's name as configured in your admin settings<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Unzip, upload plugin folder to your plugins directory (<code>\/wp-content\/plugins\/<\/code>)<\/li>\n<li>Make sure Gravity Forms is installed<\/li>\n<li>Activate plugin<\/li>\n<li>Create or edit a Gravity Form -- under the 'Advanced' tab of a field, check \"allow this field to be populated dynamically\".<\/li>\n<li>Set the ensuing 'Parameter Name' field to one of the registered placeholders:\n\n<ul>\n<li><code>session_desiredkey<\/code> where 'session_' is a prefix indicating you want a Session value and 'desiredkey' is the index of which Session value to retrieve<\/li>\n<li><code>cookie_desiredkey<\/code> where 'cookie_' is a prefix indicating you want a Cookie value and 'desiredkey' is the index of which Cookie value to retrieve<\/li>\n<li><code>param_desiredkey<\/code> where 'param_' is a prefix indicating that you want a URL query parameter (or form POST) and 'desiredkey' is the index of the request parameter to retrieve.  Gravity Forms actually already does this, but it's included for consistency and this <code>param<\/code> will also check for POST parameters.<\/li>\n<li><code>page_url<\/code> gets the current WP page url<\/li>\n<li><code>page_url_nodomain<\/code> gets the current WP page url without the site domain (i.e. relative path)<\/li>\n<li><code>page_url_domain<\/code> gets the domain of the current WP page url without the relative path<\/li>\n<li><code>page_url_network<\/code> gets the network domain of the current WP page (useful with multisite); may be the same as <code>page_url_domain<\/code><\/li>\n<li><code>page_referer<\/code> attempts to get the current referring url<\/li>\n<li><code>page_request<\/code> gets the server-generated page url (which may\/not be the same as <code>page_url<\/code>, such as containing the querystring)<\/li>\n<li><code>page_ip<\/code> attempts to get the client's ip address<\/li>\n<li><code>time<\/code> gets the current timestamp<\/li>\n<li><code>date<\/code> gets the current ISO formatted date<\/li>\n<li><code>time_local<\/code> gets the current timestamp formatted to your local settings<\/li>\n<li><code>date_local<\/code> gets the current date formatted to your local settings<\/li>\n<li><code>sitename<\/code> gets the blog's name as configured in your admin settings<\/li>\n<\/ul><\/li>\n<\/ol><\/dd>\n<dt>How does Gravity Forms dynamically populate normally?<\/dt>\n<dd><p>See their wiki page for it -- https:\/\/docs.gravityforms.com\/using-dynamic-population\/<\/p><\/dd>\n<dt>How do I get a session value?<\/dt>\n<dd><p>See the installation instructions and use <code>session_yourdesiredkey<\/code> as the Parameter Name, where <code>yourdesiredkey<\/code> is the Session index you want.<\/p><\/dd>\n<dt>How do I get a cookie value?<\/dt>\n<dd><p>See the installation instructions and use <code>cookie_yourdesiredkey<\/code> as the Parameter Name, where <code>yourdesiredkey<\/code> is the Cookie index you want.<\/p><\/dd>\n<dt>How do I get a url querystring value?<\/dt>\n<dd><p>Use native GF functionality, or see the installation instructions and use <code>param_yourdesiredkey<\/code> as the Parameter Name, where <code>yourdesiredkey<\/code> is the querystring index you want.<\/p><\/dd>\n<dt>It doesn't work right...<\/dt>\n<dd><p>Drop an issue at https:\/\/github.com\/zaus\/gf-dynamic-fields or in the Support forum.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.3<\/h4>\n\n<ul>\n<li>added URL just domain<\/li>\n<li>added time and date<\/li>\n<li>added sitename<\/li>\n<li>added querystring parameters<\/li>\n<li>added other stuff, see installation<\/li>\n<li>basically almost parity with <a href=\"https:\/\/wordpress.org\/plugins\/forms-3rdparty-dynamic-fields\/\">Forms 3rdparty Dynamic Fields<\/a> plugin.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>added URL without domain<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<p>IT HAS BEGUN.  Supports session, cookie, and a couple page values<\/p>","raw_excerpt":"Dynamically fill fields with session, cookie, or other values, based on &#039;Forms: 3rdparty Dynamic Fields&#039;.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/91094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=91094"}],"author":[{"embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zaus"}],"wp:attachment":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=91094"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=91094"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=91094"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=91094"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=91094"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=91094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}