Skip to content
Gaurav TiwariDocs

Form Settings

Version 5.3.1 Updated November 27, 2026

Core Forms has two levels of settings: per-form settings that apply to a single form, and global settings that apply to all forms on your site. This guide covers both.

Per-Form Settings

Each form has its own Settings tab in the form editor. Go to Core Forms > [Your Form] > Settings to configure these options.

Settings tab of a form with collapsible groups for display mode, submissions, anti-spam, save and resume, and scheduling

Submissions

Control how form submissions are stored and throttled.

Setting Default Description
Save submissions Yes Store submissions in the database (wp_cf_submissions table). Turn off for simple forms where you only need email notifications.
Prevent duplicate submissions Off Block repeat submissions from the same user within a browser session. Uses a session cookie to detect duplicates.
Rate limit 0 Maximum submissions per IP address per hour. Set to 0 for unlimited. Useful for preventing abuse on public forms.

Example: For a newsletter signup, you might set rate limit to 5 to prevent a single user from submitting dozens of times.

After Submission

Define what happens when a user successfully submits the form.

Setting Default Description
Confirmation type Show success message Choose between: Show success message, Redirect to URL, or Redirect to page.
Hide form after success Off Replace the entire form with the success message. If off, the message appears above the form and the form remains visible.
Redirect URL (empty) The URL to redirect to after submission. Only used when confirmation type is “Redirect to URL”.
Scroll to message On Automatically scroll the page to the success message after submission. Helpful for long pages where the form is below the fold.

Redirect URL Variables

When using the redirect confirmation type, you can include dynamic data variables in the URL:

https://example.com/thank-you/?name=[NAME]&email=[EMAIL]&form=[CF_FORM_ID]&time=[CF_TIMESTAMP]
Variable Output
[NAME] Value of the name field
[EMAIL] Value of the email field
[CF_FORM_ID] The numeric ID of the submitted form
[CF_TIMESTAMP] Unix timestamp of the submission

You can use any field name as a variable by wrapping it in square brackets: [field_name].

Confirmation Type: Redirect to Page

The “Redirect to page” option shows a dropdown of all published pages on your site. After submission, the user is redirected to the selected page. This is simpler than entering a URL manually and ensures the link stays valid if the page slug changes.

Anti-Spam

Protect your forms from spam submissions. Multiple methods can be used simultaneously for layered protection.

Setting Default Description
Honeypot field On Adds a hidden field that is invisible to humans but filled in by bots. Submissions with a filled honeypot are silently rejected.

Additional spam protection methods are configured in the global settings (see below). Each one is a module. Math CAPTCHA is on for new sites, while reCAPTCHA, Turnstile and Akismet start off, so turn them on under Core Forms > Modules first:

  • Google reCAPTCHA v3 — Invisible challenge that scores visitors. Configure site key and secret key in global settings.
  • Cloudflare Turnstile — Privacy-focused alternative to reCAPTCHA. Configure in global settings.
  • Akismet — Checks submission content against the Akismet spam database. Requires the Akismet plugin.
  • Math CAPTCHA — Displays a simple math problem (e.g., “What is 3 + 7?”) that the user must solve.

When spam is detected, Core Forms returns a success response to the submitter (to avoid tipping off bots) but marks the submission as spam internally. To review them, open Submissions and choose the Spam filter.

Prevent Duplicates (per form) refuses a second submission carrying identical values from the same visitor — scoped to the logged-in user when there is one, otherwise to the IP address — inside a one-hour window. Changing any answer, or waiting out the window, makes the submission new again. Filter cf_duplicate_window_seconds to change the window. (Working since 4.9.0; the setting existed earlier but was never read.)

Blocked attempts

Since 4.9.0. Refused attempts are counted per form and shown in the analytics panel, with a reason code. Only reason codes are stored — never field values.

honeypot_missing deserves attention: it means the hidden honeypot field was absent from the submission entirely. That is what a page cache or an over-eager HTML optimizer produces when it strips hidden inputs from a real visitor’s form. A rising honeypot_missing count means genuine people are being turned away, not that spam is being stopped. If you see it, exclude pages containing forms from full-page caching, or disable HTML minification for them.

Save & Resume

Allow users to save partially completed forms and return later to finish.

Setting Default Description
Enable save & resume Off When enabled, a “Save Draft” button appears on the form. Users receive a unique link to resume their form later.
Partial entries Off Store unfinished field data after interaction. Enable only when intentional and covered by your privacy notice.
Draft expiry 30 days Number of days before unfinished drafts are automatically deleted. Range: 1–365 days.

This is especially useful for long forms like applications, surveys, or multi-step registration forms where users may need time to gather information.

Scheduling

Restrict when the form accepts submissions. Useful for event registrations, limited-time offers, or business-hours-only forms.

Setting Default Description
Enable schedule Off When enabled, the form only accepts submissions during the configured window.
Open date — Close date (empty) Date range during which the form is open. Leave empty for no date restriction.
Days of the week All Check specific days (Mon–Sun) when the form should be open. Leave all unchecked for every day.
Time window 24h Open and close times within each active day. Supports overnight windows (e.g., 22:00–06:00). Leave empty for 24-hour availability.
Closed message “This form is currently closed.” The message displayed when the form is outside its scheduled window.

Scheduling Examples

Event registration open for one week: – Enable schedule: On – Open date: 2026-05-01 – Close date: 2026-05-07

Business hours only (weekdays 9 AM to 5 PM): – Enable schedule: On – Days: Mon, Tue, Wed, Thu, Fri – Open time: 09:00 – Close time: 17:00

Overnight support form (10 PM to 6 AM): – Enable schedule: On – Open time: 22:00 – Close time: 06:00

The time window correctly handles overnight spans where the close time is earlier than the open time.

Appearance & Behavior

Control how the form looks and behaves on the frontend.

SettingDefaultDescription
Submit button text“Submit”Custom text for the submit button. Leave empty to use the default.
Loading text“Sending…”Text shown on the submit button while the form is being submitted via AJAX.
AJAX submissionOnSubmit without a page reload. When disabled, Core Forms uses a native Post/Redirect/Get flow that works without JavaScript.
Form CSS class(empty)Extra CSS classes added to the <form> element. Separate multiple classes with spaces.
Field wrapper classes(empty)Classes added to the element around every field: the <p> or <div> around each label and input, and the <fieldset> around radio and checkbox groups. Layout containers, headings and text blocks are left alone.

CSS Class Example

Setting the form CSS class to my-form dark-theme produces:

<form class="cf-form cf-form-42 my-form dark-theme" ...>

Field Wrapper Classes Example

Setting field wrapper classes to form-group mb-4 produces:

<p class="form-group mb-4" data-cf-field="1" ...>
    <label for="...">Email</label>
    <input type="email" ...>
</p>
<fieldset class="form-group mb-4" data-cf-choice-group="radio" ...>
    <legend>Plan</legend>
    ...
</fieldset>

Utility classes such as md:w-1/2 are kept as written. The classes are added when the form renders, to every field the visual builder, its code view or the block editor marks as a field. An older form written as plain HTML and never saved in the visual builder has no such marks: open it in the builder and save once, or add the classes to its HTML.

For one field, set Wrapper class in the visual builder (field > Advanced), next to CSS class:

  • CSS class goes on the input. On a radio or checkbox group it goes on every option and on the group’s fieldset.
  • Wrapper class goes on the field’s wrapper only. On a radio or checkbox group that is the fieldset, never the options.

In the code view, a class written on a radio or checkbox group’s <fieldset> is kept as its wrapper class.

Advanced

Power-user settings for custom styling and scripting.

Setting Default Description
Skeleton CSS Global Inherit the global setting, always load forms.css, or always skip it for this form. The skeleton provides structural form behavior without colors or typography.
Default form theme On Load the built-in visual form theme. Disable if your WordPress theme already styles form elements or if you want full control over CSS.
Custom CSS (empty) CSS rules applied only to this form, scoped to .cf-form-{ID}. Entered in a code editor textarea.
Custom JavaScript (empty) JavaScript executed when this form loads, wrapped in an IIFE: (function(){ ... })(). Only visible to users with the unfiltered_html capability (administrators).

Custom CSS Example

/* Target this specific form */
.cf-form-42 input[type="text"],
.cf-form-42 input[type="email"] {
    border: 2px solid #333;
    border-radius: 4px;
    padding: 12px;
}

.cf-form-42 button[type="submit"] {
    background: #0073aa;
    color: #fff;
    font-size: 16px;
    padding: 12px 32px;
}

Custom JavaScript Example

// Auto-fill the date field with today's date
var dateField = document.querySelector('.cf-form-42 input[name="date"]');
if (dateField) {
    dateField.value = new Date().toISOString().split('T')[0];
}

Messages Tab

Each form has a Messages tab where you customize the text shown to users during and after form submission.

Message Default When It Appears
Success “Thank you! We will be in touch soon.” After a successful submission
Invalid Email Address “Sorry, that email address looks invalid.” When an invalid email is submitted
Required Field Missing “Please fill in the required fields.” When a required field is empty
General Error “Oops. An error occurred.” When an unexpected error occurs
reCAPTCHA Failed “reCAPTCHA verification failed. Please try again.” When reCAPTCHA token is invalid
reCAPTCHA Low Score “Your submission appears to be spam. Please try again.” When reCAPTCHA score is too low
Spam “Your submission was flagged as spam.” When Akismet flags as spam
Math CAPTCHA Failed “Incorrect answer to the math problem. Please try again.” When math answer is wrong

All message fields support basic HTML tags: <strong>, <em>, and <a>.

Message Examples

Success: Thanks, {{user.first_name}}! We'll respond within 24 hours.

Error: Something went wrong. Please <a href="/contact">contact us directly</a>.

Required: Please complete all fields marked with *.

Global Settings

Global settings apply to all forms site-wide. Go to Core Forms > Settings to configure them.

Some sections appear only while their module is on: Payments, Turnstile and Replies. Others, such as reCAPTCHA, Emailit and the Akismet whitelist, show their fields but do nothing until you turn their module on under Core Forms > Modules.

Saving Global Settings

  • A save stores only the sections on the screen. Settings for a module you switched off stay saved and work again when you turn the module back on.
  • If the settings changed after you opened the screen, for example in another tab, nothing is saved. A notice says Your changes were not saved. and the screen shows the current values. Make your change again and save.
  • A value that can’t be used is refused while the rest saves, with an error that says what was kept. A Standalone URL base that is already in use is one example.
  • Secret fields, such as payment webhook secrets and the Headless keys, keep what you paste apart from HTML tags and extra spaces.
Core Forms global Settings screen with the settings areas menu and the General section

General

Setting Default Options Description
Enable Nonce No Yes / No Include a WordPress nonce field in each form for CSRF protection. Set to “No” if your site uses full-page caching, as cached nonces become invalid.
Form analytics Yes Enable / Disable Set the site default for browser and server-side analytics. Each form can inherit, enable, or disable it.
Standalone URL base collect URL segment Set the first segment used by standalone form pages, such as /collect/contact/.
Load Stylesheet No Yes / No Apply basic form styles (layout, spacing, field sizing) to all Core Forms forms. This is a minimal stylesheet — most themes already style form elements.
Wrapper Tag p p, div, span, label The HTML tag used to wrap form fields in the Visual Builder output.
Delete data on uninstall No Yes / No When enabled, deleting the plugin from the Plugins screen permanently removes every form, submission, uploaded file, poll, license record and setting. (Since 4.9.0.)

Delete data on uninstall

Off by default, and it should usually stay off.

Deactivating Core Forms never deletes anything — it only unschedules the plugin’s cron events. Deleting the plugin runs the uninstall handler, and only then does this setting matter.

With it off, deleting the plugin leaves your forms, submissions and uploaded files in the database, so reinstalling picks up exactly where you left off. With it on, deletion is permanent and there is no undo. Take a database backup first.

Before 4.9.0 there was no uninstall handler at all, so deleting the plugin always left every table, option and uploaded file behind with no supported way to remove them.

Nonce and Caching

If you use a page caching plugin (WP Super Cache, W3 Total Cache, LiteSpeed Cache, etc.), set Enable Nonce to “No”. Here is why: WordPress nonces are time-limited tokens. When a page is cached, the nonce value is frozen in the cache. After the nonce expires (typically 12–24 hours), form submissions from the cached page will fail validation.

Core Forms compensates with other security measures (honeypot, rate limiting, referrer checking) that work reliably with caching.

Google reCAPTCHA v3

Setting Description
Site Key Your reCAPTCHA v3 site key from google.com/recaptcha/admin
Secret Key Your reCAPTCHA v3 secret key

Once configured, reCAPTCHA v3 automatically protects all your forms. It runs invisibly in the background — no user interaction required. Submissions are scored from 0.0 (likely bot) to 1.0 (likely human).

Emailit

Setting Description
API Key Your Emailit API key from app.emailit.com/settings/api-keys

When configured, a “Send Email via Emailit” action becomes available for your forms. Emailit is a transactional email API that can replace wp_mail() for more reliable email delivery.

Spam Protection

Setting Description
Akismet Whitelist Keywords or phrases that bypass Akismet spam checking. One per line, case-insensitive. Use this if Akismet is flagging legitimate submissions.

Keys in wp-config.php

Any key on the Settings screen, and the license key, can be set as a constant in wp-config.php instead. Use this to keep keys out of database backups, exports and staging copies, or to set them once for many sites.

  • A constant that is defined and not empty wins over the saved setting.
  • The Settings screen shows that field as set in wp-config.php, read-only. It names the constant and never prints its value.
  • Saving settings never writes a constant into the database and never changes the saved value it overrides. Other fields save as usual.
  • Remove the constant and the saved value, if there is one, is used again.
define( 'CORE_FORMS_RECAPTCHA_SITE_KEY', '...' );
define( 'CORE_FORMS_RECAPTCHA_SECRET_KEY', '...' );
define( 'CORE_FORMS_STRIPE_SECRET_KEY_LIVE', 'sk_live_...' );
define( 'CORE_FORMS_LICENSE_KEY', '...' );
SettingConstant
License keyCORE_FORMS_LICENSE_KEY
reCAPTCHA site key and secret keyCORE_FORMS_RECAPTCHA_SITE_KEY, CORE_FORMS_RECAPTCHA_SECRET_KEY
Turnstile site keyCORE_FORMS_TURNSTILE_SITE_KEY, or the shared GT_TURNSTILE_SITE_KEY
Turnstile secret keyCORE_FORMS_TURNSTILE_SECRET_KEY, or the shared GT_TURNSTILE_SECRET_KEY
Emailit API keyCORE_FORMS_EMAILIT_API_KEY
WhatsApp Cloud access token, phone number ID and business account IDCORE_FORMS_WHATSAPP_ACCESS_TOKEN, CORE_FORMS_WHATSAPP_PHONE_NUMBER_ID, CORE_FORMS_WHATSAPP_BUSINESS_ACCOUNT_ID
WhatsApp inbound Meta verify token and app secretCORE_FORMS_WHATSAPP_VERIFY_TOKEN, CORE_FORMS_WHATSAPP_APP_SECRET
WhatsApp inbound Twilio auth tokenCORE_FORMS_TWILIO_AUTH_TOKEN
Headless API keyCORE_FORMS_HEADLESS_API_KEY
Headless proxy secretCORE_FORMS_HEADLESS_PROXY_SECRET
Any payment gateway fieldCORE_FORMS_{GATEWAY}_{FIELD} in capitals

Payment gateway constants follow the field’s setting name, test and live alike:

GatewayExample constants
StripeCORE_FORMS_STRIPE_PUBLISHABLE_KEY_LIVE, CORE_FORMS_STRIPE_SECRET_KEY_LIVE, CORE_FORMS_STRIPE_SECRET_KEY_TEST, CORE_FORMS_STRIPE_WEBHOOK_SECRET
PayPalCORE_FORMS_PAYPAL_CLIENT_ID_LIVE, CORE_FORMS_PAYPAL_CLIENT_SECRET_LIVE, CORE_FORMS_PAYPAL_WEBHOOK_ID
RazorpayCORE_FORMS_RAZORPAY_KEY_ID_LIVE, CORE_FORMS_RAZORPAY_KEY_SECRET_LIVE, CORE_FORMS_RAZORPAY_WEBHOOK_SECRET
PolarCORE_FORMS_POLAR_ACCESS_TOKEN_LIVE, CORE_FORMS_POLAR_WEBHOOK_SECRET
MollieCORE_FORMS_MOLLIE_API_KEY_LIVE, CORE_FORMS_MOLLIE_API_KEY_TEST
SquareCORE_FORMS_SQUARE_ACCESS_TOKEN_LIVE, CORE_FORMS_SQUARE_APPLICATION_ID_LIVE, CORE_FORMS_SQUARE_LOCATION_ID_LIVE, CORE_FORMS_SQUARE_WEBHOOK_SIGNATURE_KEY_LIVE
PaddleCORE_FORMS_PADDLE_API_KEY_LIVE, CORE_FORMS_PADDLE_CLIENT_TOKEN_LIVE, CORE_FORMS_PADDLE_WEBHOOK_SECRET_LIVE
Paystack, FlutterwaveCORE_FORMS_PAYSTACK_SECRET_KEY_LIVE, CORE_FORMS_FLUTTERWAVE_SECRET_KEY_LIVE, and their _WEBHOOK_SECRET
Mercado Pago, Dodo, CreemCORE_FORMS_MERCADOPAGO_ACCESS_TOKEN_LIVE, CORE_FORMS_DODO_API_KEY_LIVE, CORE_FORMS_CREEM_API_KEY_LIVE
RevolutCORE_FORMS_REVOLUT_SECRET_KEY_LIVE, CORE_FORMS_REVOLUT_WEBHOOK_SECRET_LIVE
AirwallexCORE_FORMS_AIRWALLEX_CLIENT_ID_LIVE, CORE_FORMS_AIRWALLEX_API_KEY_LIVE, CORE_FORMS_AIRWALLEX_ACCOUNT_ID_LIVE, CORE_FORMS_AIRWALLEX_WEBHOOK_SECRET_LIVE
BraintreeCORE_FORMS_BRAINTREE_MERCHANT_ID_LIVE, CORE_FORMS_BRAINTREE_PUBLIC_KEY_LIVE, CORE_FORMS_BRAINTREE_PRIVATE_KEY_LIVE

The GT_TURNSTILE_* constants are shared with other Gatilab plugins such as Core Bookings, so one Turnstile widget can protect every form on the site. The Core Forms constant wins when both are set.

CORE_FORMS_LICENSE_KEY activates automatically the next time an administrator opens the dashboard, and the License & Updates screen shows it without a key field. The activation is saved without the key: Core Forms keeps only a hash and reads the key from wp-config.php. If you change the constant, the new key activates on the next admin page load. A failed activation is shown there and retried after 12 hours. Deactivating the license keeps it off for 12 hours; remove the constant to keep it off for good.

Switches stay on the screens: turn on Turnstile for each form, enable each gateway, and choose test or live mode there. Keys used by a single form action, such as a Mailchimp or Brevo API key, are still set on that action.

Settings Priority

When multiple settings interact, here is the order of priority:

  1. Per-form settings override global settings where applicable.
  2. Global reCAPTCHA/Turnstile keys are shared across all forms — there is no per-form override for API keys.
  3. The honeypot is a per-form setting. It defaults to “On” for new forms.
  4. Anti-spam methods stack — a submission must pass all enabled checks (honeypot AND reCAPTCHA AND Akismet) to be accepted.

Contact Form (General Purpose)

Save submissions:     Yes
Confirmation type:    Show success message
Hide form:            Yes
Honeypot:             On
reCAPTCHA:            Configured globally
AJAX:                 On

Newsletter Signup (Minimal)

Save submissions:     No (rely on Mailchimp/email action)
Confirmation type:    Show success message
Hide form:            Yes
Rate limit:           5 per hour
Honeypot:             On
AJAX:                 On

Event Registration (Time-Limited)

Save submissions:     Yes
Confirmation type:    Redirect to page (confirmation page)
Schedule enabled:     Yes
Open date:            Event registration start
Close date:           Event date
Prevent duplicates:   On
Honeypot:             On

Job Application (Long Form)

Save submissions:     Yes
Save & resume:        On
Draft expiry:         60 days
Confirmation type:    Redirect to URL (/application-received/)
AJAX:                 On
Honeypot:             On

Support Request (Business Hours)

Save submissions:     Yes
Confirmation type:    Show success message
Schedule enabled:     Yes
Days:                 Mon, Tue, Wed, Thu, Fri
Open time:            09:00
Close time:           17:00
Closed message:       "Our support team is available Monday–Friday, 9 AM–5 PM. Please submit your request during business hours."

Exporting and Importing Settings

Form settings are stored as post meta on the core-form post type. When you export forms via Tools > Export (selecting the “Core Forms” post type), all settings, messages, and form markup are included in the export file.

To migrate forms between sites:

  1. On the source site: Tools > Export > Core Forms > Download Export File.
  2. On the destination site: Tools > Import > WordPress and upload the XML file.

Next Steps

Share

Was this helpful?

Still stuck? Open a support ticket