DrupalBin
Submit Code
About
Recent Posts
Fix for Code
5 hours 22 min
ago
Fix for Code
5 hours 22 min
ago
Code
5 hours 28 min
ago
whole thing
6 hours 19 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
form
formulario
July 26, 2008 - 1:00pm — Anonymous
<code>
<?php
/**
* Formulario que permite guardar las partidas jugadas
* Form to save the game.
*/
function
alta_partida_form
(
$node
)
{
$form
[
'alta_partida'
]
=
array
(
fapi
form
Read more
formulario
July 26, 2008 - 1:00pm — Anonymous
<code>
<?php
/**
* Formulario que permite guardar las partidas jugadas
* Form to save the game.
*/
function
alta_partida_form
(
$node
)
{
$form
[
'alta_partida'
]
=
array
(
fapi
form
Read more
removing the preview button (and delete button)
December 6, 2007 - 1:50pm —
BrianJubal
function
sitehelper_form_alter
(
$form_id
, &
$form
)
{
global
$user
;
switch
(
$form_id
)
{
case
'linfo_node_form'
:
if
(
$user
->
uid
!=
'1'
)
{
unset
(
$form
[
'preview'
]
)
;
form
hook_form_alter
Read more
A working form with submit and validation
November 12, 2007 - 1:19pm — Anonymous
/**
* Import rate file panel
*/
function
uc_usps_table_import
(
)
{
$form
=
array
(
)
;
$form
[
'uc_usps_table_import'
]
=
array
(
'#type'
=>
'fieldset'
,
drupal 5
form
Read more