Django form inline validation

2010-05-11 Thread newbiedjango
Hi All, I am a newbie in Django. I am currently working on a user registration form. I am trying to integrate a Jquery inline validation script in my django code which is not a success. What I would like to have is use something of this sort http://www.position-absolute.com/articles/jquery-form

Re: Inline validation

2010-02-08 Thread chefsmart
You could take a look at http://wadofstuff.blogspot.com/2009/08/requiring-at-least-one-inline-formset.html On Feb 8, 6:46 pm, Gabriel Reis wrote: > Hello guys, > > I have the following situation: > > class FooInline(TabularInline): >     model = Foo >     extra = 1 >     max_num = 1 > > class My

Inline validation

2010-02-08 Thread Gabriel Reis
Hello guys, I have the following situation: class FooInline(TabularInline): model = Foo extra = 1 max_num = 1 class MyAdmin(admin.ModelAdmin): inlines = [FooInline,] Is there any way to perform a validation in which the user must have filled the fields of the inline formset?

InLine Validation

2009-10-15 Thread Jairo R. Peralta
hello, I'm somewhat new to Python->Django and I found a little problem. -> I have 2 classes <-- - PayForm class (models.Model): type = models.CharField (max_length = 1, choices = PAYFORMS_TYPES) weekendDays = models.BooleanField () models.BooleanFiel

InLine Validation

2009-10-15 Thread Jairo R. Peralta
hola, soy algo nuevo en Python-Django y me he encontrado con un pequeño problema. -> tengo 2 clases <- class PayForm(models.Model): type = models.CharField(max_length=1, choices=PAYFORMS_TYPES) weekendDays = models.BooleanField() holydays = models.BooleanField()