-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation #69
Comments
Hey, you have to wrap your For further details please check the docs: |
Dear Gummibeer, Thank you for replied. Yes, I have read it some times and try to learn more about laravel validation but it's not lucky for me. I'm a newbie. Is there example about this? If you have one, please send me the URL. |
Instead of your current return $rules = [
'translations.%name%' => 'required|string',
]; you just do return RuleFactory::make([
'translations.%name%' => 'required|string',
]); It will still return an array but will parse it and replace the placeholders. |
You're awesome! thank you so much. |
Thanks! :) |
I think it's better if you have a few examples how to do that because it's more easier for newbie, like me. I have fixed the problem. Thank you so much ^^! |
This is true? < input name="translations[en][name]" > ?
|
Hello,
I'm a newbie inLaravel. I have tried to create a form request and add this in rules():
however it did not work.
This is my array:
So, my question is how to validate with this?
Thank you.
The text was updated successfully, but these errors were encountered: