How to accep only uppercase characters without using manipulators/validators?

2006-08-28 Thread Vizcayno
Hello: I have a table with two columns, first column is declared as unique=True: == code = description == FI = Finance AC = Accounting office HR = Human resorces . . etc. Under "admin" if user creates another record whose code is AC, an error message appears becaus

Re: How to accep only uppercase characters without using manipulators/validators?

2006-08-28 Thread Jacob Kaplan-Moss
On Aug 28, 2006, at 8:52 PM, Vizcayno wrote: > Is there a way to solve my need without using manipulators/validators? No, actually, because validators are *exactly* what you want to use here :) The right way to do what you want is to add a validator that checks that your ``code`` field is up