How do I make a field hidden when using ModelForm? I tried HiddenInput but it appears to be ignored.
code: http://dpaste.com/22290/ Line 9 Here's what View Source shows for that line in the browners: <label for="id_last">Last:</label><input id="id_last" type="text" name="last" maxlength="45" When I use "widget=forms.HiddenInput()" i don't get any errors but it doesn't hide the field. The field still shows as type="text" rather than type="hidden" Line 9 doesn't seem to do anything. It still displays the field as "text" instead of "hidden". You can see other attempts that are commented out that also don't work. What am I doing wrong? Thanks in advanced rizzoo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---