[jifty-devel] Checkbox disabled

Jesse Vincent jesse at bestpractical.com
Thu Sep 10 02:25:12 EDT 2009

On Mon  7.Sep'09 at 13:21:32 -0700, Stanislav Sinyagin wrote:
> hi,
> I think it's wrong thatrender_value() in Jifty::Web::Form::Field::Checkbox
> draws a checkbox with both readonly and disabled. I also inherited this 
> behavior in Chekboxes.pm.
> http://www.htmlcodetutorial.com/forms/_INPUT_DISABLED.html
> As a result a read-only checkbox does not send its value to the form, and the value is 
> lost upon submitting.
> I think it has more sense to draw it in readonly, but not disabled mode.
> your thoughts?

Hrm. If it's marked as read only and disabled, we should be submitting
back that we're _not_ going to send a value for that param. (or rather
"we shouldn't be submitting the metadata that we _will_ be sending a

More information about the jifty-devel mailing list