Required field
I'm trying to localize my app. I added the language files and all good, the only thing that I can't manage to get is how to translate the "required" message. So far, the validation is done at the frontend instead of at the backend (to get the translated message).
Is there a way to ignore the frontend validation for the
required
rule? or even better, a way to translate the frontend message? Thanks in advance.![No description](https://cdn.answeroverflow.com/1260256720727572581/screenshot_2024-07-09_at_17.29.59.png)
2 Replies
Solution
->rule('required')
instead of required()
I thinkThat did the trick @Leandro Ferreira . Thank you!