How to call an form request from another from request? #42810
Unanswered
JeremieBergeron
asked this question in
Q&A
Replies: 0 comments
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.
-
Context:
Question: How can I call the FormRequest of TableTwo in my TableOneFormRequest?
Why I need to do that? I need to validate the form I receive.
PS: This is not a good solution, because it will only merge the rules of the TableTwo. It won't wake in consideration what is wrote in the method like prepareForValidation of TableTwo FormRequest class.
Beta Was this translation helpful? Give feedback.
All reactions