Hello,
I would like to know if it?s possible to have a php validation in the sum of one element.
So, imagine i have one element Yes/NO, wich values are "1" or "0".
And i have 4 rows:
Row 1:0
Row 2:1
Row 3:0
Row 4:0
If user edit row 2 to No wich is "zero", my validation should say that?s not possible because the row?s sum of this element should always be > 0.
Could you help me?
Thanks you.
I would like to know if it?s possible to have a php validation in the sum of one element.
So, imagine i have one element Yes/NO, wich values are "1" or "0".
And i have 4 rows:
Row 1:0
Row 2:1
Row 3:0
Row 4:0
If user edit row 2 to No wich is "zero", my validation should say that?s not possible because the row?s sum of this element should always be > 0.
Could you help me?
Thanks you.