The Parameter Shortcode

A handy tool if you’re using the parameter name field in one of the field types that supports, the parameter shortcode enables you to grab the value that is being passed along in the URL.

If, for example, you ask for the user’s first name and pass their input along using a parameter name of “fn”, you’ll have a URL that looks something like:

https://mysite.com/target-page/?fn=”Nancy”

You can use the “Nancy” data by including a shortcode like this:

User

The “default” parameter is the value that will be used for the shortcode if no value for “fn” (or whatever you’ve chosen) is given in the URL.

Note that you can use shortcodes both within the Shortcode block and inline within standard paragraph text.

Related: the pzIfThen and pzElse blocks.

How'd we do?
Updated on April 23, 2025