In Drupal 6, by default, a required CCK field will display the first allowed value.
I want it displays "- Please Select -": Is there an easy way to do this?
I do not want to save "- Please Select -" in the database.
|
feedback
|
|
Use the key|label format for allowed values:
By making the key for "-Please Select -" an empty string, the form can't be submitted with this value. | |||||
|
feedback
|
|
In the list of options of global settings of field you can put in first place the option - Please Select - : -Please Select - Save the field. After in the field settings you choose - Please Select - in default value of the field. Finally you save the configuration of field. | |||
feedback
|
|
Put your field as not required and then in a
| |||
|
feedback
|
|
seems like AHAH can do the job to populate select list or add items: AHAH - populating a select (list) with a select (drop-down). | ||||
|
feedback
|