On Jul 7, 10:47 am, Mambaragi <[EMAIL PROTECTED]> wrote:
> Hello,
> I use Django 0.96, newforms.
>
> If a form's field is bound, sometimes I need it to be hidden.
> I have to use {% if %} for this.
> But if it possible to set the form object's field as hidden
> temporarily, it will be really nice.
>
> Regards,
> KwonNam.

form.fields["field_name"].widget = forms.HiddenInput()


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to