DrupalBin
Submit Code
About
Recent Posts
httpd.conf file
Code
Fix for Close button for views
Close button for views
Code
Code
Code
results
hook_view and hook_insert
KITTENS ZOMG
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
simpletest
test
theme
user
views
more tags
Home
select
warning: preg_match() expects parameter 2 to be string, array given in /home/.joslyn/robloach/drupal/6/includes/bootstrap.inc on line 777.
warning: preg_match() expects parameter 2 to be string, array given in /home/.joslyn/robloach/drupal/6/includes/bootstrap.inc on line 777.
warning: preg_match() expects parameter 2 to be string, array given in /home/.joslyn/robloach/drupal/6/includes/bootstrap.inc on line 777.
Fix for Fix for Fix for the multiple select #default_value
January 30, 2010 - 4:27pm — Anonymous
$form
[
'mylist'
]
=
array
(
'#type'
=>
'select'
,
'#title'
=>
t
(
'Select From List'
)
,
'#options'
=>
array
(
0
=>
'A'
,
1
=>
'B'
,
2
=>
'C'
,
#default_value
fapi
multiple=true
select
Read more
Fix for Fix for the multiple select #default_value
July 6, 2009 - 3:26am — Anonymous
$form
[
'mylist'
]
=
array
(
'#type'
=
>
'select'
,
'#title'
=
>
t
(
'Select From List'
)
,
'#options'
=
>
array
(
0
=
>
'A'
,
1
=
>
'B'
,
2
=
>
'C'
,
#default_value
fapi
multiple=true
select
Read more
Fix for the multiple select #default_value
February 12, 2008 - 9:47am — Anonymous
$form['mylist'] = array(
'#type' => 'select',
'#title' => t('Select From List'),
'#default_value' => 'B',
'#options' => array(
0=>'A',
#default_value
fapi
multiple=true
select
Read more
Fix for the multiple select #default_value
December 11, 2007 - 5:34am — Anonymous
$form['mylist'] = array(
'#type' => 'select',
'#title' => t('Select From List'),
'#options' => array(
0=> t('A'),
1=> t('B'),
#default_value
fapi
multiple=true
select
Read more
Fix for the multiple select #default_value
December 11, 2007 - 5:29am — Anonymous
$form['mylist'] = array(
'#type' => 'select',
'#title' => t('Select From List'),
'#options' => array(
0=>'A',
1=>'B',
#default_value
fapi
multiple=true
select
Read more
Fix for the multiple select #default_value
December 11, 2007 - 5:24am — Anonymous
$form['mylist'] = array(
'#type' => 'select',
'#title' => t('Select From List'),
'#options' => array(
0=>'A',
1=>'B',
#default_value
fapi
multiple=true
select
Read more
the multiple select #default_value
December 11, 2007 - 5:08am — Anonymous
$form['mylist'] = array(
'#type' => 'select',
'#title' => 'Select From List'
'#options' => array(0=>'A', 1=>'B', 2=>'C' ,3=>'D',),
'#multiple' => true,
'#size' => 3,
#defualt_value
fapi
multiple=true
select
Read more