Page 1 of 1
Help: Custom field "Checkbox".
Posted: 08 Sep 2005, 20:52
by Skellington
I define a "Checkbox" Custom Field with "RED|GREEN|BLUE| on "Possible Values" (it's just an example)
How can I show one check below the other instead of one next to the other?
Thanks.
Posted: 08 Sep 2005, 21:36
by Skellington
I found a solution:
I set "Possible Values" as:
"RED<br>|GREEN<br>|BLUE"
and it works!
but, GREEN and BLUE checks are left indented... snif.
Well, if somebody could fix this indentation I will thanks.
Posted: 03 Jan 2006, 02:49
by Guest
in core/custom_fields_api.php, function print_custom_field_input()
change:
Code: Select all
echo '<input type="checkbox" name="custom_field_' . $t_id . '[]"';
to
Code: Select all
echo (@++$i == 1? ' ': '') . '<input type="checkbox" name="custom_field_' . $t_id . '[]"';
[line 1112 or so
Posted: 03 Jan 2006, 02:50
by Guest
damn .. see quote