{"id":411119,"date":"2024-10-16T08:00:00","date_gmt":"2024-10-16T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/dfxa-for-wpforms\/"},"modified":"2024-10-16T08:50:00","modified_gmt":"2024-10-16T08:50:00","slug":"dfxa-for-wpforms","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/dfxa-for-wpforms\/","title":{"rendered":"Dynamic Input For WPForms"},"content":{"rendered":"<p>Dynamic Input For WPForms is an addon that allows users to add dynamic and hidden fields to their WPForms.<br \/>\nThis addon provides powerful options for pre-filling fields, passing dynamic data, and customizing input values on the fly.<br \/>\nIdeal for developers and marketers who need to personalize form interactions without manual input.<\/p>\n<p><strong>Features:<\/strong><br \/>\n\u2013 Add hidden fields with dynamic values.<br \/>\n\u2013 Pass URL parameters into form fields.<br \/>\n\u2013 Auto-populate fields with post data, user data, or other custom values.<br \/>\n\u2013 Enhance WPForms functionality with minimal effort.<br \/>\n\u2013 Simple and lightweight, with no unnecessary bloat.<\/p>\n<h3><strong>Included Shortcodes:<\/strong><\/h3>\n<p>Add <strong>Dynamic Text<\/strong> or <strong>Dynamic Hidden<\/strong> input field.<br \/>\nThen edit field options > Advanced > Default Value.<br \/>\nFinally, add correct shortcode.<\/p>\n<ol>\n<li>\n<p><strong>[dfxa_get_url]<\/strong><br \/>\nRetrieves a current URL.<br \/>\n<strong>Usage:<\/strong> <code>[dfxa_get_url]<\/code><\/p>\n<\/li>\n<li>\n<p><strong>[dfxa_bloginfo]<\/strong><br \/>\nRetrieves WordPress site information, like site title or description.<br \/>\n<strong>Usage:<\/strong> <code>[dfxa_bloginfo key=\"name\"]<\/code><br \/>\nExample: Outputs the blog\u2019s name based on the provided key.<\/p>\n<\/li>\n<li>\n<p><strong>[dfxa_referrer]<\/strong><br \/>\nDisplays the referrer URL (the page the user came from).<br \/>\n<strong>Usage:<\/strong> <code>[dfxa_referrer]<\/code><\/p>\n<\/li>\n<li>\n<p><strong>[dfxa_post_var]<\/strong><br \/>\nFor pages that use a WP_POST object, this acts as an alias for <code>dfxa_post_var<\/code> so those attributes work here as well.<br \/>\n<strong>Usage:<\/strong> <code>[dfxa_post_var key=\"title\"]<\/code><br \/>\nExample: Get the page title<\/p>\n<\/li>\n<li>\n<p><strong>[dfxa_post_meta]<\/strong><br \/>\nFetches custom post meta for a given post ID.<br \/>\n<strong>Usage:<\/strong> <code>[dfxa_post_meta post_id=\"123\" key=\"custom_field\"]<\/code><br \/>\nExample: Retrieves the meta value stored under <code>custom_field<\/code> for post ID 123.<\/p>\n<\/li>\n<li>\n<p><strong>[dfxa_GET]<\/strong><br \/>\nRetrieves GET parameter values directly from the URL.<br \/>\n<strong>Usage:<\/strong> <code>[dfxa_GET param=\"id\"]<\/code><br \/>\nExample: If the URL is <code>https:\/\/example.com?id=42<\/code>, the shortcode will output <code>42<\/code>.<\/p>\n<\/li>\n<\/ol>\n<h3>License<\/h3>\n<p>This plugin is open-source and licensed under GPLv2 or later. For more information, visit <a href=\"https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\" rel=\"nofollow ugc\">GPLv2 License<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Easily add dynamic text, dynamic hidden fields, and advanced customization to WPForms.<\/p>\n","protected":false},"author":65,"featured_media":411120,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Dynamic Input For WPForms - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Easily add dynamic text, dynamic hidden fields, and advanced customization to WPForms."},"footnotes":""},"categories":[1],"tags":[1350,56987,53622,14261,1616],"class_list":["post-411119","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-custom-field","tag-dynamic-field","tag-dynamic-text","tag-hidden-fields","tag-wpforms"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/411119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=411119"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/411119\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/411120"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=411119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=411119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=411119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}