Dynamic Input For WPForms
Dynamic Input For WPForms is an addon that allows users to add dynamic and hidden fields to their WPForms. This addon provides powerful options for pre-filling fields, passing dynamic data, and customizing input values on the fly. Ideal for developers and marketers who need to personalize form interactions without manual input.
Features: – Add hidden fields with dynamic values. – Pass URL parameters into form fields. – Auto-populate fields with post data, user data, or other custom values. – Enhance WPForms functionality with minimal effort. – Simple and lightweight, with no unnecessary bloat.
Included Shortcodes:
Add Dynamic Text or Dynamic Hidden input field. Then edit field options > Advanced > Default Value. Finally, add correct shortcode.
-
[dfxa_get_url] Retrieves a current URL. Usage:
[dfxa_get_url] -
[dfxa_bloginfo] Retrieves WordPress site information, like site title or description. Usage:
[dfxa_bloginfo key="name"]Example: Outputs the blog’s name based on the provided key. -
[dfxa_referrer] Displays the referrer URL (the page the user came from). Usage:
[dfxa_referrer] -
[dfxa_post_var] For pages that use a WP_POST object, this acts as an alias for
dfxa_post_varso those attributes work here as well. Usage:[dfxa_post_var key="title"]Example: Get the page title -
[dfxa_post_meta] Fetches custom post meta for a given post ID. Usage:
[dfxa_post_meta post_id="123" key="custom_field"]Example: Retrieves the meta value stored undercustom_fieldfor post ID 123. -
[dfxa_GET] Retrieves GET parameter values directly from the URL. Usage:
[dfxa_GET param="id"]Example: If the URL ishttps://example.com?id=42, the shortcode will output42.
License
This plugin is open-source and licensed under GPLv2 or later. For more information, visit GPLv2 License.