Pages vues depuis 25/05/2001 : 108 396 810
Index du forum »» SFORM »» Un formulaire sform pour présenter des données en tableau
<?PHP
/************************************************************************/
/* SFORM Extender for NPDS V Forum */
/* =========================== */
/* */
/* 2002 - 2003 */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
// ---------------------------------------------------------------------
// CE CHAMPS est indispensable --- Don't remove this field
// Champ text : Longueur = 50 / obligatoire / Pas de vérification
$m->add_field('subject', "Dénomination :","",'text',false,50,"","");
// ---------------------------------------------------------------------
// Titre de la Grille de Formulaire
$m->add_title("Echange formules TP<BR> -: CFA :-");
// ---------------------------------------------------------------------
// CE CHAMPS est indispensable --- Don't remove this field
// Champ text : Longueur = 50 / obligatoire / Pas de vérification
$m->add_field('message', "Forme pharmaceutique :","",'text',true,50,"","");
// ---------------------------------------------------------------------
// ---------------------------------------------------------------------
// CE CHAMPS est indispensable --- Don't remove this field
// Champ text : Longueur = 600 / TextArea / Obligatoire / Pas de Vérification
$m->add_field('formule', "Formule réalisée :","",'textarea',true,600,10,"","");
// ---------------------------------------------------------------------
// ---------------------------------------------------------------------
// CE CHAMPS est indispensable --- Don't remove this field
// Champ text : Longueur = 600 / TextArea / Obligatoire / Pas de Vérification
$m->add_field('fabrication', "Protocole de fabrication :","",'textarea',true,600,15,"","");
// ---------------------------------------------------------------------
// ---------------------------------------------------------------------
// CE CHAMPS est indispensable --- Don't remove this field
// Champ text : Longueur = 600 / TextArea / Obligatoire / Pas de Vérification
$m->add_field('reglementation', "Réglementation :","",'textarea',false,600,10,"","");
// ---------------------------------------------------------------------
// Champ Boite à cocher / Valeur de retour true / coché
$m->add_checkbox('sig', "Ma signature", 'true', false, true);
// Champ Boite à cocher / Valeur de retour true / non-coché
$m->add_checkbox('notify2', "Notification par Email?", 'true', false, false);
// ----------------------------------------------------------------
// CES CHAMPS sont indispensables --- Don't remove these fields
// Champ Hidden
$m->add_field("forum","",$forum,'hidden',false);
// extra
$m->add_extra("<tr><td align=center colspan=2>");
// Reset bouton
$m->add_field('Reset',"","R a z",'reset',false);
$m->add_extra(" ..::.. ");
// Submit bouton
$m->add_field('Submit',"","Soumettre",'submit',false);
$m->add_extra("</TD></TR>");
// ----------------------------------------------------------------
?>
Message édité par : fliaigre / 21-11-2007 09:02