1stpoint wrote:
> I don't know if this is a new feature. We recently
created disabled
> fields on some of our html forms. Now when we submit
the form to CP,
> the disabled fields are not included in the
request.params. Is this a
> filter setting or does CP not process disabled form
fields??
>
>
> def readform(self, *args, **kwargs):
> fldDict=cherrypy.request.params
As stated in the HTML specification, disabled controls
cannot be
successful:
http://www.w3.org/TR/REC-html40/interact/forms.html#
disabled
This is part of HTML, and is the responsibility of your
client(s) to
correctly omit disabled fields. You might look into
'readonly' as an
alternative to achieve immutable, yet successful, controls.
Robert Brewer
System Architect
Amor Ministries
fumanchu amor.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|