Is it possible to assign this to this module like in CCK?
Greetings
CKIDOW
I also need this...
content.module does this to split and filter the values:
if (empty($allowed_values[$field['field_name']]) && isset($field['allowed_values'])) { $list = explode("\n", $field['allowed_values']); $list = array_map('trim', $list); $list = array_filter($list, 'strlen'); foreach ($list as $opt) { // Sanitize the user input with a permissive filter. $opt = content_filter_xss($opt); if (strpos($opt, '|') !== FALSE) { list($key, $value) = explode('|', $opt); $allowed_values[$field['field_name']][$key] = (isset($value) && $value !=='') ? $value : $key; } else { $allowed_values[$field['field_name']][$opt] = $opt; } } }
Great thanks a lot! :)
Automatically closed -- issue fixed for 2 weeks with no activity.
Comments
Comment #1
hass commentedI also need this...
Comment #2
hass commentedcontent.module does this to split and filter the values:
Comment #3
hass commentedComment #4
cardentey commentedI also need this...
Comment #5
b-prod commentedComment #6
ckidowGreat thanks a lot! :)