File tree Expand file tree Collapse file tree
themes/develop/contact/form Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{% set form = module(' V2_Form' ) %}
22
3- {% if form .error %}
4- <!-- フォームID : {{ form .error .formID }} エラー項目 : {{ form .error .fields | join(' |' ) }} -->
5- <p class =" text-gray-900 mb-10" >
6- 入力内容をもう一度ご確認ください。
7- </p >
3+ {% if form .error and touch(' Touch_SessionWithContribution' ) %}
4+ <section class =" mb-10 bg-red-50 border-t-4 border-red-500 rounded-b text-red-900 py-4 px-3 sm:px-4 shadow-md" >
5+ <h2 class =" text-base/normal font-semibold" >管理者向け: バリデーションエラー通知</h2 >
6+ <p class =" text-sm/normal font-semibold mt-3" >
7+ ※このメッセージは投稿者以上の権限を持つユーザーにのみ表示されています
8+ </p >
9+ <p class =" mt-4 text-sm/normal" >
10+ フォームID「{{ form .error .formID }}」の項目「{{
11+ form .error .fields | join (' , ' )
12+ }}」で入力ルール違反(バリデーションエラー)が検出されました。以下を確認してください。
13+ </p >
14+ <ul class =" list-disc list-inside mt-3 space-y-1 text-sm/normal" >
15+ <li >入力ミス:必須項目の未入力、形式間違い、各入力欄にエラーメッセージが出ていないかをご確認ください。</li >
16+ <li >
17+ 設定の不一致:正しい入力をしていてもエラーが続く場合、テンプレートの入力欄とフォームID管理の「入力チェック(バリデーター)」設定が一致していない可能性があります。
18+ </li >
19+ </ul >
20+ </section >
821{% endif %}
922
1023{% if form .step == ' step' %}
You can’t perform that action at this time.
0 commit comments