Skip to content
Gaurav TiwariDocs

Confirmations and Variables

Version 5.3.1 Updated November 30, 2026

Choose what visitors see after they submit, and insert answers and site details into messages and emails. Available since Core Forms 5.4.0.

Confirmations

Open a form’s Settings tab and find Confirmations. The first confirmation whose rules match is used; the last one is the fallback.

  1. Click Add confirmation and give it a Name, for example “Sales enquiries”.
  2. Pick what it does under Show:
    • A message: text written in the WordPress editor, with media and variables. Leave it empty to use the Success message from the Messages tab.
    • A page on this site: choose a page.
    • Go to a URL: any address. Tick Add the answers to the URL as query arguments to pass the answers on, and Open in a new tab if you want.
  3. Under Use when, click Add rule and build rules with the same comparisons as Conditional Logic. How rules combine sets all rules match or any rule matches. With no rules, a confirmation always matches.
  4. Use Move up and Move down to set the order.

Two more settings apply to messages:

  • Hide form after success replaces the form with the confirmation message.
  • Scroll to message smooth-scrolls to the message after submission.

Answers in a URL can end up in browser history and server logs. Only pass them to sites you trust.

Show visitors their answers

Put [cf_entry_summary] in a confirmation message or on a confirmation page:

[cf_entry_summary style="table" exclude="card_number,notes"]
  • style: table, list or compact.
  • exclude: field names to leave out, separated by commas.
  • On a confirmation page, the link carries a one-time code, never the answers or the entry ID. The code expires after 30 minutes (filter cf_entry_summary_ttl), and pages that show a summary are never cached.

Forms made before 5.4

A form’s Success message and Redirect URL keep working as before. They become its first confirmation the next time you save its Settings.

Insert variable

An Insert variable button sits next to messages, confirmation messages, redirect URLs, email subjects and bodies, and default values in the builder. Variables are grouped:

GroupExamples
FieldsEvery field in the form, by its label
FormForm title, form ID, entries left, entry limit, site name, site URL, admin email
EntryAll answers with labels, all answers except some, answer summary table, entry ID, visitor IP address, browser
UserDisplay name, email, username, user ID, first and last name
Page and URLPage title, page URL, page ID, referrer URL, a URL parameter
DateDate submitted, time submitted, timestamp (UTC)
PaymentAmount, currency, payment status, provider and payment ID

Chips under each box show the variables it already uses.

[all:label exclude="card,notes"] and [all exclude="card,notes"] list every answer except the fields you name.

Developers can change the groups with the cf_variable_picker_groups filter. See Data Variables for every variable.

Share

Was this helpful?

Still stuck? Open a support ticket