|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
dawei Smarty Rookie
Joined: 14 Dec 2006 Posts: 11
|
Posted: Wed Jan 31, 2007 10:47 am Post subject: [Quickform et smarty] Visible et griser les champs de texte |
|
|
Bonjour,
j'ai le code suivant:
Code: |
$form->addElement('text', 'nom' , afficher_message( 'nom' ) ) ;
$form->setDefaults( array( 'nom' => $tableau[ 'nom' ] ) ) ;
$form->addElement('text', 'prenom', afficher_message( 'prenom' ) ) ;
$form->setDefaults( array( 'prenom => $tableau[ 'prenom' ] ) ) ;
$form->addElement('text', 'nationalite', afficher_message( 'nationalite' ) ) ;
$form->setDefaults( array( 'nationalite' => $tableau[ 'nationalite' ] ) ) ;
$form->addElement('text', 'dnaissance', afficher_message( 'dnaissance' ) ) ;
$form->setDefaults( array( 'dnaissance' => $tableau[ 'dnaissance' ] ) ) ;
|
voilà, je sais pas comment rendre les champs ombragé afin de ne rendre inacessible au chargement du formulaire.
J'ai regardé le tuorial et j'ai pas trouvé comment ajouter des attribus
Merci _________________ /\_ Le forum est là lorsqu'on a besoin d'aide. _/\ |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|