Hi People, I need to do something, I have 2 questions, a "P2" array text number, and a "P3" multiple numerical input.
The first column of P2 is to insert number of mans, and on P3 the number of mans should be the same of that column or less, and is not, show a message, i try to fo it putting this on ecuation validation question on P3
sum(self.sq_SQ001.NAOK)<=sum(that.P2.sq_SQ001.shown) AND sum(self.sq_SQ002.NAOK)<=sum(that.P2.sq_SQ002.shown)
And this on ecuation validation help on P3
{if(sum(self.sq_SQ001.NAOK)>sum(that.P2.sq_SQ001.shown),"O total de homes debe ser inferior ou igual " ,"")}
Looks like it works, but as you can see on the image, looks like only have in count the first digit, dont do the validation well
How can I do this please?
Thank you