On Dec 21, 2:59 am, brian corrigan <[EMAIL PROTECTED]> wrote:
> try using
>
> <input type="text" disabled="disabled"...>

Seems like a good idea, but remember that a DISABLED field's value
does _not_ get sent back with the HttpRequest submission, and will
therefore be flagged as missing input if the form's field definition
doesn't have "required=False"!

Making the field READONLY (rather than DISABLED) avoids this problem,
but unfortunately READONLY only works on a very limited subset of
<input> types.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to