tovirio Posted December 4, 2015 Share Posted December 4, 2015 I need to get the value of a select type: renderForm(){ array( 'type' => 'select', 'label' => $this->l('Shop Category'), 'name' => 'CategoryName', 'options' => array( 'query' => $query, 'id' => 'id_feature', 'name' => 'name' ) ), .... } all works perfecly, now i want to get the value that user choose. I use this code: getContent(){ Tools::getValue('CategoryName'); } This code return me nothing. How can i get the value that the user choose ? (the selected $query value) 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