List Info

Thread: disabled form fields ignored by cherrypy?




disabled form fields ignored by cherrypy?
user name
2006-03-08 21:00:53
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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

disabled form fields ignored by cherrypy?
user name
2006-03-08 21:24:13
Answered it myself:
The DISABLED attribute, which applies to all input types but
is also
poorly supported, disables the control. Disabled elements
are read-only
elements with the added restrictions that the values are not
submitted
with the form, the elements cannot receive focus, and the
elements are
skipped when navigating the document by tabbing.

CP is working correctly here.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )