Re: validate fields in the admin as some local flavor form fields

2008-11-24 Thread TeenSpirit83
Yes, I think we should isolate the condition to he interested field without touching every other. So could it be if db_field == cuit ?? thanks ramiro ;) On 20 Nov, 00:01, "Ramiro Morales" <[EMAIL PROTECTED]> wrote: > The condition in line 16 can (and in fact should) be made more > specific to

Re: validate fields in the admin as some local flavor form fields

2008-11-19 Thread Ramiro Morales
On Mon, Nov 17, 2008 at 10:00 PM, TeenSpirit83 <[EMAIL PROTECTED]> wrote: > > I'm writing an app with some italian zip and vat number fields and > also a province select field > can i force the admin class to validate the fields like > class it.forms.ITVatNumberField > class it.forms.ITZipCodeFiel

Re: validate fields in the admin as some local flavor form fields

2008-11-19 Thread TeenSpirit83
no answers! i think there's no solution :( how can i create my validation rules for those fields? On 18 Nov, 01:00, TeenSpirit83 <[EMAIL PROTECTED]> wrote: > I'm writing an app with some italian zip and vat number fields and > also a province select field > can i force the admin class to validate

validate fields in the admin as some local flavor form fields

2008-11-17 Thread TeenSpirit83
I'm writing an app with some italian zip and vat number fields and also a province select field can i force the admin class to validate the fields like class it.forms.ITVatNumberField class it.forms.ITZipCodeField class it.forms.ITProvinceSelect ?? --~--~-~--~~~---~--~-