Validation in the Repeater field
I have a repeater column, I need to validate that the sum of value is always equal to 100. How do I do this validation?
I don't want to validate just one field. I need all "Valor" fields to validate
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1236472068191813652/Captura_de_Tela_2024-05-04_as_21.11.00.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1236472068502196266/Captura_de_Tela_2024-05-04_as_21.18.25.png)
5 Replies
I need the sum of repeater field values ββto not be greater than 100, and not just one field. This way there is only one field.
I think you need to checkout ths
https://filamentphp.com/docs/3.x/forms/validation#other-rules
Check out custom rules especially π
I'll look! Thank you very much!