Skip to content

Commit b6bb37b

Browse files
authored
Merge pull request #993 from ExpressionEngine/bug/7.x/channel-form-inline-errors
Fix examples for channel form `field_errors` tag
2 parents a83b6ea + 6f22805 commit b6bb37b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/channels/channel-form/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<li>{error}</li>
122122
{/global_errors}
123123
{field_errors}
124-
<li>{error}</li>
124+
<li>{field}: {error}</li>
125125
{/field_errors}
126126
</ul>
127127
{/if}

docs/channels/channel-form/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ If you have chosen [inline error handling](#error_handling), you can display the
432432

433433
### `{field_errors}`
434434

435-
{field_errors}{error}{/field_errors}
435+
{field_errors}{field}: {error}{/field_errors}
436436

437437
If you have chosen [inline error handling](#error_handling), you can display field-related entry submission errors.
438438

0 commit comments

Comments
 (0)