
CHAMPS "LISTE EN BASCULE AVEC OU SANS TRI "
frm_Init(false,"150px");
$tableau1 = array( "1" => "1-Paris", "2" => "2-Lyon", "3" => "3-Marseille", "4" => "4-Toulouse", "5" => "5-Bordeaux", "6" => "6-Nantes" );
$f->frm_ObjetCoche("ACTIVATION", array( "label" => "ACTIVATION", "title" => "Activer les bascules ci-dessous",
"help" => "Sélectionner pour activer le choix",
"default" => $coche_activation,
"activation" => array("LISTE_BASCULE","LISTE_BASCULE2") )
);
$f->frm_SautLignes(1);
$f->frm_ObjetBascule("LISTE_BASCULE", array(
"label" => "Listes en bascule (tri auto)",
"default" => $defaut,
"attrib" => "R",
"title1" => "Liste gauche",
"title2" => "Liste droite",
"help" => "choisir au moins une ville",
"width" => "120px"
),
$tableau1 );
$f->frm_SautLignes(2);
$f->frm_ObjetBascule("LISTE_BASCULE2", array(
"label" => "non obligatoire+tri manuel",
"default" => $defaut2,
"attrib" => "",
"rows" => "10",
"sort" => true,
"title1" => "Liste gauche",
"title2" => "Liste droite triable",
"help" => "choisir une ville [optionnel]",
"width" => "120px"
),
$tableau1 );
$f->frm_SautLignes(2);
$f->frm_ObjetBascule("LISTE_BASCULE3", array(
"label" => "en lecture seule",
"default" => "1,3",
"attrib" => "+",
"rows" => "10",
"sort" => true,
"title1" => "Liste gauche",
"title2" => "Liste droite triable",
"help" => "choisir au moins une ville",
"width" => "120px"
),
$tableau1 );
$f->frm_Ouvrir();
print "
";
print "\$_POST() = ";
print_r($_POST);
print "
";
?>