Checkbox always goes back to off position, even when the default_value is on.

Robin Monks - February 3, 2009 - 17:43
Project:Formfilter
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community
Description

Patch attached.

Assumes if the default value would be to be checked, set the hidden value to the value the checkbox takes on when checked.

Robin

AttachmentSize
formfilter_checkbox_sanity.diff786 bytes

#1

nedjo - March 1, 2009 - 19:52

Thanks Robin. Why does this need to be 'hidden'? Could it instead be 'value'?

#2

Robin Monks - March 1, 2009 - 20:23

I suspect it could.

#3

nedjo - March 10, 2009 - 18:06
Status:needs review» reviewed & tested by the community

Hi Robin,

I've assigned you CVS access to formfilter. Please feel free to change this to a 'value' (to match what's done with other elements) and apply first to HEAD and then to the DRUPAL-5 branch. Thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.