I'm not sure that this is a bug or the intended effect : when "append the values to the options" is selected and "other" values are entered for the field for a 1st node of the relevant type, the value is correctly appended to the options when that 1st node is edited but when another node with the same type is created or edited the options does not show the expected appended value from the 1st node.

Comments

danielb’s picture

Category: bug » support
Status: Active » Closed (works as designed)

The values are stored with the specific node, they are not shared.

haydn’s picture

I see thanks. So may I suggest that the value could be shared after administrator approval ? this would mean something like adding an "other approved field" with a YES/NO value which would be viewable editable by admin only, and within some nodeapi with $op='presave'
do the following :
-check is the other is approved
-in case yes
- get the form content_field_edit_form for the relevant field and get the available_options from the form
- add the missing value to be shared from the node to some $form_state and call drupal_execute

Besides May I suggest the option to enter several values in the other field with a separator ?

Best Regards

mmachina’s picture

This option would come in very handy if we were building a STATE >> CITY cck field for certain node types... say for a CCK node type called EVENTS. It would be virtually impossible to create a select list that listed all the possible cities. But if we let the users populate the SELECT OR field on their own, they could then select the city, if it had already been entered, or add the city, if it was not already in the select list.

When another user ADDS an event, he could select from a list of cities that had already been added to the database... or add a city if it is not existing already.

Any chance we could have that functionality added?

rightchoice2c_me’s picture

any updates on this? I think we should be able to share the 'other' value by adding it in available values when node is added or updated

danielb’s picture

Component: Code » CCK / Field API widget
danielb’s picture

Status: Closed (works as designed) » Active

actually not sure if I added it to 6.x

danielb’s picture

Status: Active » Fixed

added now

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.