[email protected] Posted February 21, 2013 Share Posted February 21, 2013 (edited) Bonjour, J'essaie de rajouter un champ de type 'select' dans la variable "fields_form", array( 'type' => 'select', 'label' => $this->l('Modèle de voiture :'), 'name' => 'model', 'required' => true, 'options' => array( 'query' => $list_models, 'id' => 'id_model', 'name' => 'name' ), ), cependant je m'emmêle un peu les pinceaux dessus (surtout avec l'attribut "query"), je veux donc mettre la liste des options en dur sans passer par des requêtes sql et co. Quelqu'un aurait une idée là-dessus ? Merci. Edited March 1, 2013 by [email protected] (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now