DrupalBin
Submit Code
About
Recent Posts
Fix for Views cumulus: tag_cloud
Fix for Code
sjfgjgjfgidfgh
Code
Code
test.berniecram.com.alias.drushrc.php
Code
provision-deploy error
Create node programmatically with file
Code
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
php
simpletest
taxonomy
test
theme
views
more tags
Home
Forms
Update multiple checkboxes in a N:M relationship
September 29, 2011 - 10:11am — Anonymous
// Save the pods that were enabled for this room
// $vars['pods'] has values that come from a form postback - from a field of type checkboxes
// in the database, a room(rid) can have zero or multipl
checkboxes
database
Forms
many-to-many
multiple
one-to-many
Read more
CSS to hide Webform checkbox form label and line up options (display: inline disabled for debugging)
March 2, 2011 - 7:52pm —
wizonesolutions
/* CSS to hide Webform checkbox form label and line up options (display: inline disabled for debugging) */
form
#webform-client-form-121 {
clear: both;
}
#webform-client-form-121 #webform-compo
css
Forms
Read more
Fix for Fix for Code
April 5, 2010 - 7:38am — Anonymous
<?php
function
test_menu
(
)
{
$items
[
'test1'
]
=
array
(
'title'
=
>
'test1'
,
'page callback'
=
>
'drupal_get_form'
,
'page arguments'
=
>
array
(
'test_1_form'
)
Forms
radio
Read more
Fix for Fix for Code
April 3, 2010 - 10:41pm — Anonymous
<?php
function
test_menu
(
)
{
$items
[
'test1'
]
=
array
(
'title'
=
>
'test1'
,
'page callback'
=
>
'drupal_get_form'
,
'page arguments'
=
>
array
(
'test_1_form'
)
,
'ty
Forms
radio
Read more
Fix for Code
April 3, 2010 - 10:37pm — Anonymous
<?php
function
test_menu
(
)
{
$items
[
'test1'
]
=
array
(
'title'
=
>
'test1'
,
'page callback'
=
>
'drupal_get_form'
,
'page arguments'
=
>
array
(
'test_1_form'
)
Forms
radio
Read more
Code
April 3, 2010 - 10:36pm — Anonymous
<?php
function
test_menu
(
)
{
$items
[
'test1'
]
=
array
(
'title'
=
>
'test1'
,
'page callback'
=
>
'drupal_get_form'
,
'page arguments'
=
>
array
(
'test_1_form'
)
Forms
radio
Read more
Hook Form Alter Module
December 5, 2009 - 1:06pm — Anonymous
<?php
/**
* Display help and module information
* @param path which path of the site we're displaying help
* @param arg array that holds the current path as would be returned from arg() function
Forms
Read more
In form alter, the required DOES work but the multiple doesn't
December 3, 2009 - 8:24am — Anonymous
function
frankp_horoscope_form
(
&
$node
)
{
$type
=
node_get_types
(
'type'
,
$node
)
;
$form
[
'taxonomy'
]
[
FRANKP_HOROSCOPE_TAXONOMY_STAR_SIGNS
]
=
taxonomy_form
(
FRANKP_HOROSCOPE_TAXONOMY_STAR_SIGNS
)
;
Forms
Read more
Fix for Fix for Example of displaying multiple checkboxes,alue selected with one v
November 30, 2009 - 7:15am —
balaji
$form
[
'option_occassions'
]
=
array
(
'#type'
=
>
'checkboxes'
,
'#title'
=
>
t
(
'Associated Occassions'
)
,
'#options'
=
>
array
(
1
=
>
"Formal"
,
2
=
>
"Social"
,
3
=
>
"Xmas"
,
4
=
>
checkboxes
fapi
Forms
Read more
Fix for Example of displaying multiple checkboxes,alue selected with one v
November 27, 2009 - 9:53am — Anonymous
$form
[
'option_occassions'
]
=
array
(
'#type'
=
>
'checkboxes'
,
'#title'
=
>
t
(
'Associated Occassions'
)
,
'#options'
=
>
array
(
1
=
>
"Formal"
,
2
=
>
"Social"
,
3
=
>
"Xmas"
,
4
=
>
checkboxes
fapi
Forms
Read more
1
2
3
next ›
last »