required steps:
----------------
create a content type X with fields of type "list" (regardless text, float,integer) with widget "Check boxes/radio buttons"
set fields to required
don't set default values
set allowed values[and labels] other than 0
add content->type X -> submit without selecting any radio-fields
expected behaviour:
----------------------
message "required field..."
unexpected result:
--------------------
message "illegal choice..."
if you change the fields above so they have an allowed value 0, things get a new twist:
unexpected result:
--------------------
a) submitting the node will validate, but viewing the node,
you will (as expected, since you cose nothing) see no content for your field.
b) if the label is 0 too, 0 as label is not being rendered in html
i saw a number of similar forum-posts and issues, but none seemed to mention all this.
sorry if i create a duplicate...
Comments
Comment #1
sirtetWell, besides forgetting a NOT in the title, i also failed finding the issue
http://drupal.org/node/811542
which already adresses the problem (or at least the main one).
So now closed this here.