Closed (won't fix)
Project:
CCK Required Single Select (Obsolete!)
Version:
6.x-1.0-beta2
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2010 at 03:46 UTC
Updated:
28 Dec 2011 at 20:46 UTC
Comments
Comment #1
k4ml commentedAnd if you use PHP to return the allowed values list, using NULL as a key for the "Please select" instruction seem to work also:-
Comment #2
cwebster commented@FranciscoLuz I think you've just made me very happy. Is this a recent change? I tested many different ways of trying to accomplish this some time back with absolutely no success.
Comment #3
Gabriel R. commentedNot quite. Using your solution will list the NULL value in the Views filters. Using this module works around that.
Comment #4
roball commentedThe alternative workaround has drawbacks, eg. the "-Select one-" option will be included in a Views exposed filter. This module does not have this problem.
When you prefer to use the original post's workaround to manually add an additional item to each and every select field, it would be better to make
the first item of the Allowed values list.
Comment #5
prabhatjn commentedWhat about drupal 7?
Perry.