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 )
How to add additional SUBMIT handler when a FILE is uploaded on Drupal
How to display all taxonomy terms as tree view in block drupal 6?
Drupal 6 not loading page-user.tpl.php file
Not able to add fields to my content type in Drupal 6
How do i overwrite the default drupal6 block template?
how to add a sum field in a view?
How can Block direct access to drupal 6 site
how to clear varnish cache for a drupal view?
Drupal 6- 404 is not showing for menu item URL pattern implemented using hook_menu
hook the function in module in drupal
Conditional Field is not working with content_multigroup, cck , drupal
In drupal Primary Link is like empty
Programmatically creating nodes with audiofield in Drupal 6
Drupal: How do I pass profile tokens to user profile page?
CKeditor stopped working after drush up (6.22 -> 6.25)
Change markup field tekst during validation