0

Gt and lt validations are working on laravel nova, it gives me error message "validation.lt.numeric" . i want to customize it like "user limit can not greater than global limit". Can anyone tell this?

  • Does this answer your question? [Laravel Validation custom message](https://stackoverflow.com/questions/23117999/laravel-validation-custom-message) – gguney Mar 04 '22 at 07:10
  • No. i have two fields 1. global limit, 2. user limit. ... user limit can not greater than global limit.. i want this validation error message in laravel nova – usman raza Mar 04 '22 at 07:14
  • 2
    Can you share your code with us? What did you do so far? – gguney Mar 04 '22 at 07:25
  • @gguney i have resolved this....I just add custom message in validation.php file of laravel nova – usman raza Mar 04 '22 at 07:26
  • maybe you can post your own anser to help other getting to the site – Mátyás Grőger Mar 04 '22 at 08:03
  • GT, GTE, LT and LTE are laravel validations, just write them in laravel nova resource field rule and add custom message in validation.php. – usman raza Mar 07 '22 at 11:18

0 Answers0