Skip to content

Specify that “fields” key must be prepended on validation rules#466

Closed
billmn wants to merge 2 commits into
statamic:masterfrom
billmn:validation-rules
Closed

Specify that “fields” key must be prepended on validation rules#466
billmn wants to merge 2 commits into
statamic:masterfrom
billmn:validation-rules

Conversation

@billmn

@billmn billmn commented Mar 17, 2020

Copy link
Copy Markdown

To use validation rules like required_if, required_with, same the fields. string must be added before the field name.

But this note missing from the docs.

@billmn

billmn commented Mar 18, 2020

Copy link
Copy Markdown
Author

NOTE: v3 doesn't require fields. to be prepended

@billmn billmn closed this Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant