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 |
Beta Was this translation helpful? Give feedback.
3 replies
-
Nevermind. I think it will me missunderstaning and generate a lot of questions. Sorry for bothering |
Beta Was this translation helpful? Give feedback.
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
to
field that validated specificly bytype
field.Now I can do it like this, but I think there is better way:
Beta Was this translation helpful? Give feedback.
All reactions