Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

[Quickform et smarty] Visible et griser les champs de texte

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
dawei
Smarty Rookie


Joined: 14 Dec 2006
Posts: 11

PostPosted: Wed Jan 31, 2007 10:47 am    Post subject: [Quickform et smarty] Visible et griser les champs de texte Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP