| 开发者 | plugear |
|---|---|
| 更新时间 | 2026年8月23日 12:30 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wpcf7_* submission hooks fire. Other plugins that
act on a submission cannot be triggered twice.
When the visitor presses Send, Contact Form 7 runs its normal submission
exactly once. The mail you receive is the same mail you would have received
without this plugin.
Errors look the way they always did
If something is invalid, the message appears in the same place, with the same
markup and the same accessibility wiring that Contact Form 7 uses itself. Your
theme's styling for form errors keeps working, and screen readers announce
errors the same way.
Settings
Per form, in the Confirm Screen tab:
hankaku
option on the form tag.
Number fields are the one exception: the browser itself discards full-width digits
from a number input before any script can see them, so there is nothing left to
convert.
For developers
plg_prscf7_scroll_offset — gap kept above the form when scrolling
(default 10vh, i.e. 10% of the viewport)plg_prscf7_load_css — return false to drop the bundled stylesheetplg_prscf7_normalize_fields — which fields are converted to half-widthplg_prscf7_safe_validation — skip third-party wpcf7_validate_* callbacks
during the confirmation stepplg_prscf7_-prefixed classes
(plg_prscf7_confirming, plg_prscf7_value, plg_prscf7_actions,
plg_prscf7_back, plg_prscf7_send) that are safe to style.
Only two rules ship as CSS: spacing between the two buttons, and a secondary
look for the Edit button. Everything else is left to your theme.
日本語
Contact Form 7 に確認画面(入力確認)を追加するプラグインです。送信ボタンを押すと
入力内容の確認ページが表示され、そこで初めて送信されます。入力ミスと二重送信を
減らせます。
フォームは 1 つのままです。 確認用のフォームを複製したり、確認ページを別に作ったり
する必要はありません。既存のフォームの「確認画面」タブでチェックを入れるだけです。
確認画面は別画面を作らず、入力欄があったその場所を入力値に差し替えます。ラベル・
表組み・入れ子の HTML はそのまま残るので、テーマで整えたレイアウトが崩れません。
「修正する」「送信する」のボタンは既存の送信ボタンから作るため、テーマの見た目を
そのまま受け継ぎます。
確認ステップではメールを送らず、スパム判定も走らせません。検証は Contact Form 7 自身の
ルールをサーバー側で実行して結果を返すだけです。エラー表示も Contact Form 7 と同じ形で
出るので、テーマのスタイルと読み上げがそのまま効きます。
全角半角の正規化も入っています。スマホのかな入力で打った全角数字(090…)は
Contact Form 7 の検証で弾かれますが、確認ボタンを押した時点で半角に直すので、利用者が
打ち直す必要がありません。入力中には触らないので、日本語入力の変換を壊しません。
電話・数値・メール・ URL は指定なしで対象、それ以外はフォームタグに hankaku と
書けば対象にできます。ただし [number] だけは、ブラウザが全角数字を受け取った時点で
値を捨ててしまうため直しようがありません。
日本語の翻訳は WordPress.org の翻訳サイト(translate.wordpress.org)で提供します。
翻訳が届く前でも、確認画面のボタン文言はフォームごとに設定できます。
Yes. Contact Form 7 5.7 or later must be installed and active. On WordPress 6.5 and later this plugin declares Contact Form 7 as a dependency, so WordPress blocks activation until Contact Form 7 is active, and it will not let you deactivate Contact Form 7 while this plugin is active. On older WordPress, and whenever the installed Contact Form 7 is older than 5.7, this plugin simply does nothing and tells you so on the admin screen — your site keeps working normally.
No. One form, one shortcode. The confirmation happens on the same page.
No. The confirmation step never sends mail. Contact Form 7's normal submission runs once, when the visitor presses Send.
Yes. Those run at the spam-check stage, which the confirmation step does not enter at all. They do their usual work when the message is actually sent.
Yes. The confirmation shows the file name that was chosen, and the file is uploaded with the final submission as usual.
The confirmation step is skipped and the form behaves like plain Contact Form 7 — the message is still delivered. Nothing breaks.
Yes. The confirmation reuses your own markup, so most of it is already styled
by your theme. For the parts this plugin adds, style the plg_prscf7_ classes
listed in the description, or drop the bundled CSS entirely with the
plg_prscf7_load_css filter.
The plugin runs on PHP 7.4 and later, and every release is tested down to 7.4 so that sites still on it are not left behind. That said, PHP 7.4 reached end of life and no longer receives security fixes, so please ask your host to move you to a supported version (8.1 or later) when you can. Nothing in this plugin requires it — the recommendation is about your site's security, not about the confirmation step.
Not tested on multisite. It is not blocked from activating, but it is outside what this plugin is verified against.
Nothing is deleted by default. Your forms and their settings are left alone.