Skip to main content

Result output

Result output allows displaying user-defined blocks after the form is submitted successfully.

Result output

Configuration

Follow these steps:

  1. Add a Result output item and keep its name in mind. Result outputs are found in the WordPress admin sidebar.
  2. Create a form
  3. Add the form to the desired page
  4. Add the Result output block to the same page
  5. In the Result output block options select the form and the Result output block you created in step 1
  6. (Optional) Disable the global messages in the form settings

Once the form is submitted the select block will be displayed.

Result output settings

Result output item block

Alongside the Result output block you will find the Result output item block. It allows changing parts of the result output or showing things like custom messages, based on user input.

Result output item block

Caution

The block will not show anything by default. Some configuration by developers is required. For more details, check the chapter on custom filters.

To configure the block, add it inside a Result output block, and provide a name and a value that will match the data provided by the filter. Once the form is submitted and the condition matches, the selected block will be shown.

Tip

Works great with the Computed Fields Add-on.

Result output part shortcode

Similar to the Result output item block, the shortcode version allows smaller, inline varations, e.g. simple pieces of text.

Result output part shortcode

Caution

The shortcode will not show anything by default. Some configuration by developers is required. For more details, check the chapter on custom filters.

To configure the shortocde, add it somewhere inside the Result output block. Provide a name and set the default text. The default text will be shown after form submission if the name matches the one in the configuration.

Tip

Works great with the Computed Fields Add-on.