Helper shortcodes available in Fluent Forms

Fluent Forms has a wide range of attributes of the helper shortcode which can be used to take the form a step further. The helper shortcodes and all of its attributes are listed below

Form Info:

 // submission_count | created_at | updated_at | payment_total 

Show the form info including total submission, when the form is created and updated and total payment received if it’s a payment form.

Total Submission: Use the shortcode as

[fluentform_info id="354" info="submission_count"]

and it will show total submission at the bottom of the form.

total submission count wp fluent forms

Created at: This shortcode parameter will show the date the form is created. Example shortcode:

[fluentform_info id="354" info="created_at"]

and the creation date will be shown below the form.

wp fluent forms creation date

The same way you can show the form update date and total payment using updated_at and payment_total attribute.

Date Formatting: You can format the date using all available date formatting from here. For example, if you want to print something like “Friday 17 April 2020 10 AM” then you will need to write a customized parameter like this. date_format=”l d F Y g A”.

So the final shortcode will be:

 [fluentform_info id="354" date_format="l d F Y g A" info="created_at"]

which will output the the creation time in above customized format.

Submissions Based On Entry Status:

WP Fluent Forms has two state for each entries. Read and Unread.

You can show total submissions based on the status. You can show all or the entries with read status or unread status.

Show all Entries:

[fluentform_info id="354" status="all"]

Show Entries with Read Status:

[fluentform_info id="354" status="read"] 

Show Entries with Unread Status:

[fluentform_info id="354" status="unread"]

Trashed Entries:

Entries which has been moved to trash can be excluded or included while showing the total submission.

Exclude Trashed Entries:

[fluentform_info id="354" with_trashed="no"]

Include Trashed Entries:

[fluentform_info id="354" with_trashed="yes"]

Substract From:

Fluent Forms has the feature to limit total number of times the form can be submitted. If you have an application and you want to take only 20 applicant this feature will show how many more times the form can be submitted or how many sit left in other words.

At first turn on the maximum limit from the form settings.

Maximum Number of Entries WP Fluent Forms

Now use the shortcode [fluentform_info id=”354″ info=”submission_count” substract_from=”20″]

This will show the number of submissions remaining below the form.

How to Show Submission Countdown in WP Fluent Forms

So total 17 submissions remaing and three is already submitted. You can also hide the form when all submission is done. To do this use another parameter “hide_on_zero” = “yes” inside the shortcode.

So the final shortcode will be –

[fluentform_info id="354" info="submission_count" substract_from="20" "hide_on_zero"="yes"]

Show Total Entries Based on Payment Status:

Fluent Forms has six status for the payment forms. Those are paid, pending, failed, refunded, partially refunded & processing.

You can filter the total number of entries based on those three payment statuses or you can show all.

Show All:

[fluentform_info id="354" payment_status="all"]

Only Show Total Paid Payments:

[fluentform_info id="354" payment_status="paid"]

Only Show Total Pending Payments:

[fluentform_info id="354" payment_status="pending"]

Only Show Total Failed Payments:

[fluentform_info id="354" payment_status="failed"]

You can also show formatted currency by adding an extra parameter currency_formatted = “yes” inside the shortcode.

GET Parameter Value Display

If you redirect a your user after form submission and pass some data to URL parameter and want to show the data in that page then you can use the following shortcode:

[ff_get param="GET_PARAM_NAME"]

Was this article helpful to you?


How can we help?

Please submit a support ticket if you have any question or pre-sale questions. Our Customer support engineers will answer your query as soon as possible

Open a support ticket