Closed (fixed)
Project:
Webform Boolean
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2013 at 01:18 UTC
Updated:
22 Dec 2015 at 14:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
steveEngine commentedHere's a patch to provide the functionality.
Comment #2
steveEngine commentedIf you don't know where that code goes, paste that into the bottom of $DRUPAL_ROOT$/sites/all/modules/webform_boolean/components/boolean.inc
(without the php tags)
Comment #3
dtdpro commentedTable was reporting incorrect value, try this instead
Comment #4
imiksuSince CSV export and table value reporting is same, I've created a helper function for it.
I also covered a case where we don't have on/off values set (it's optional), so we need to check if that's empty and set default 1/0 when they aren't set from component configuration.
Here's patch file based on code above together with my improvements.
Comment #5
jaxxed commentedWe've been using this patch for about 8 months since Miksu proposed it. Should it be mainlined?
Comment #7
anthonyleach commented