Skip to content

Commit fa26b2b

Browse files
committed
wip
1 parent 0cf7f87 commit fa26b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2546,7 +2546,7 @@ $validator = Validator::make($request->all(), [
25462546
<a name="error-message-indexes-and-positions"></a>
25472547
### Error Message Indexes and Positions
25482548

2549-
When validating arrays, you may want to reference the index or position of a particular item that failed validation within the error message displayed by your application. To accomplish this, you may include the `:index` (starts from `0`) and `:position` (starts from `1`) placeholders within your [custom validation message](#manual-customizing-the-error-messages):
2549+
When validating arrays, you may want to reference the index or position of a particular item that failed validation within the error message displayed by your application. To accomplish this, you may include the `:index` (starts from `0`), `:position` (starts from `1`), or `:ordinal-position` (starts from `1st`) placeholders within your [custom validation message](#manual-customizing-the-error-messages):
25502550

25512551
```php
25522552
use Illuminate\Support\Facades\Validator;

0 commit comments

Comments
 (0)