Topic: Dynamically validating length of a field

Hi,

I was wondering if there is the possibility to dynamicall check the length of a field being entered before saving it to the DB.  For example the field TITLE. Length of db-field varchar(15) but the user enters a value > 15.  The db returns a dump.  I don't want to use  validates_length_of for every single field.  Thanks

Bobby