What is a dynamic request parameter?

The Dynamic Request Parameter can populate a value that was transferred via:

  • Post Request (e.g. after a user is registered in an external CRM, a custom function could be coded to populate the user’s name onto the page.)
  • Get Request (e.g a URL parameter could populate the value of the parameter onto the page)
  • Query Vars Request (e.g can populate a field with data from any of the WordPress default Query Variables, such as the attachment ID.)

Note: WordPress maintains a list of reserved words that should not be used as request parameters. Doing so would result in a 404 Not Found error being returned. This is a WordPress function and is outside of Elementor’s control. See Reserved Terms list from WordPress.org documentation.


Advanced

Dynamic Widget Element (e.g. Subject Form Field)

  1. Click on the Dynamic icon
  2. Site > Request Parameter: Selecting this will add Request Parameter in the Subject form field.
  3. Click in the Default Value field

Settings

  1. Type: Select from Get, Post, or Query Var
  2. Parameter Name: Enter your custom parameter (e.g. the_subject)

Advanced

  1. Before: Optionally add static content before the dynamic element
  2. After: Optionally add static content after the dynamic element
  3. Fallback: Optionally add default static content if the parameter does not exist.
  4. Use custom parameter as desired (e.g. Add custom parameter to button’s link)

Share it on social networks

Was this article helpful?

Get Started With Elementor Today

Join millions of professionals who use Elementor to build WordPress websites faster and better than ever before

On this page