Perfect, thanks a lot Derek!
El lunes, 26 de abril de 2021 a las 0:14:32 UTC-6, Derek escribió:
> The docs cover this use case:
>
>
> https://docs.djangoproject.com/en/3.2/ref/forms/validation/#cleaning-and-validating-fields-that-depend-on-each-other
>
> On Saturday, 24 April 2021 at 19:57:50 UT
The docs cover this use case:
https://docs.djangoproject.com/en/3.2/ref/forms/validation/#cleaning-and-validating-fields-that-depend-on-each-other
On Saturday, 24 April 2021 at 19:57:50 UTC+2 robert...@gmail.com wrote:
>
>
> Hello guys!
>
> I've 3 fields, but I need validate it as a group, Ej:
>
Hello guys!
I've 3 fields, but I need validate it as a group, Ej:
adults = forms.IntegerField(initial=0)
kids = forms.IntegerField(initial=0)
students = forms.IntegerField(initial=0)
The Idea is to validate it as a group, not sure if that makes sense or if I
need custom validation for that fi
3 matches
Mail list logo