If you are setting trim=true in a stringlength validation you obviously want the data that is passed to the database to be the data you have validated, not the data plus the spaces removed during validation which is what is happening.
Is there any way to automatically trim data from textfields etc? ______________________________________________________________________ Ufi Limited Registered in England No. 3980770 Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP learndirect Solutions Ltd Registered in England No. 5081669 Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP UFI Charitable Trust Registered in England No. 3658378 Registered Charity No. 1081028 Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP This email has been scanned by the MessageLabs Email Security System. ______________________________________________________________________