Repository navigation
Replies: 2 comments 3 replies
|
I think you better use 2 fields, phone and email, and use required_if:type,email and required_if:type,phone |
3 replies
|
Nevermind. I think it will me missunderstaning and generate a lot of questions. Sorry for bothering |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
For example I want to validate something when other field has specific value:
For more specific example:
In second example we have
tofield that validated specificly bytypefield.Now I can do it like this, but I think there is better way:
All reactions