drupal 6 forms type = select multiple = true… what is the returned value?
There doesn't seem to be any details about this in the forms api. So please forgive my question, but I need to know what is being returned when i submit values from a form field where I can select multiple values. I suspect it is an array, if so, how is it structured? Thanks.
Here is a dump of the value field from the $form_state variable after submission for a form that contains 2 multiple select lists. *Countries and Currencies. As you can see, you are correct, an array of values corresponding to the selected option values is returned for each of the 2 lists: [values] => Array ( [name] => PayPal [ppid] => 17 [countries] => Array (  => 236  => 237 ) [currencies] => Array ( [USD] => USD [EUR] => EUR [CAD] => CAD ) [submit] => Submit Details [form_build_id] => form-d675700e434f656b0e1c7ac4aa91a210 [form_token] => 3405b88547c068a0f6a2742670b2149a [form_id] => add_payment_method_form [op] => Submit Details )
Redirecting or rewriting drupal links
Drupal 6: in hook_cron, how do I specify the path to a module file?
I Need Help Modifying CKEditor's Default Image Property Paths
Drupal 6 Faceted Search
How to send HTML email in drupal 6 using drupal_mail?
How to display some results from an external database in a drupal node?
need to pipe between menu items in drupal (non-css)
Drupal multisite setup
transferring drupal site from localhost to live server
drupal 6 : node.tpl.php $links variable, where to configure the content?
Drupal: Create menu item for a view
How to render block programmatically with standard theme
Login to drupal
Apache Solr search index problem
drupal database backup [closed]
Drupal url alias and views and clear urls for taxonomy issues