You can not do it directly. This should be do by JavaScript's using at HTML
side. All field s are added to form and some of them are hidden.
27 січ. 2015 00:29, користувач "Paul Royik" <distantjob...@gmail.com>
написав:

> I need to build a form field with a special select field.
> Select field should have option other on which text field is shown. After
> entering value in textfield, it should be validated, saved and then refered
> to initial form.
>
> How this can be done?
>
>
> I'm trying to override MultiValueField and MultiWidget, but no luck.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/268074d9-67af-4b19-a083-314ad1125414%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/268074d9-67af-4b19-a083-314ad1125414%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADTRxJM2v%2BxBUDtNm0F6uKn44oz8Oq8te%3DCTCHCgQqvQ_rkrVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to