I am using a custom translator, which is working fine. The Validator, however, is displaying an error message every time, even when the discount percent entered in the field is in the correct format. I think my regexp pattern is OK, so what am I missing? This is the code from the *.page
Found out what was wrong, posting in case anybody else has this problem. My translator parseText () method had already run, so that the field value was no longer in this format, but in the format to be stored in the database.
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?