Docs & Support

Learn about all the Formidable features and get support from our amazing customer success team.

Entries & ReportsListing Entries
Set Values for Use in Views and Forms

Set Values for Use in Views and Forms

This shortcode allows you to set values, or parameters, that can be used within Views and forms. Once parameters are set using this shortcode, they can be used to filter Views, set default values within forms, and further customize form and View interactions.

Usage

In Pages or Posts

Insert the following shortcode before your form shortcode in a page or post.

]

This sets the total_cost param as the user's total for field 100.

[frm-condition source=frm-field-value field_id=72 user_id=current less_than=param param=total_cost]You've exceeded your monthly limit.[/frm-condition]

The frm-condition shortcode will display the message "You've exceeded your monthly limit" if the user's value in field 72 is less than the value of total_cost param.
Notes:

  • If frm-set-get is used inside a View, the parameter(s) it sets can't be retrieved inside the View using [get param].

    You can get around this on Gutenberg pages by using the [show_param] shortcode instead of [get param]. The code for the [show_param] shortcode is here.On pages created by the classic editor, you can put frm-set-get on the page above the View.

    Or, the frm-set-get shortcode can be added to another view, and both views can be placed on the same page. The parameter can be set on View A and the retrieval used on View B.

  • Because of the way shortcodes are processed in WordPress, having shortcodes with enclosed content (e.g. [frm-set-get param=insight]Formidable rocks![/frm-set-get] mixed in with shortcodes without enclosed content (e.g. [frm-set-get answer=42]) may not yield the desired results.
Was this article helpful? *

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

In this article

    We have a small, but amazing team of dedicated people who are committed to helping you achieve your goals and project requirements.


    Copyright © 2025 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.

    Complete your purchase
    Special offer unlocked.
    Get 55% OFF!
    Complete Purchase
    Join 400,000+ using Formidable Forms to create form-focused solutions fast. Get Formidable Forms