NishantVadgama Posted June 11, 2014 Share Posted June 11, 2014 Hello , I have used multiple select input type in my modules configuration but when i submit it gives me only last selected options value inspite of all that are selected value for getting value I have used Tools::getValue() function. please give me some solution so that i can get all selected options value Link to comment Share on other sites More sharing options...
Pronesis Posted August 30, 2014 Share Posted August 30, 2014 Hi NishantVadgama, Same issue for me... Have you solved ? Link to comment Share on other sites More sharing options...
gr4devel Posted September 17, 2014 Share Posted September 17, 2014 Two persons with the same problem and still not an answer... Let's see if the number gets to three changes something... Btw these damned Helpers are really difficult to use (and buggy?) and there is really no documentation at all...(please don't link me the PS doc about them because for me that is definitely not a doc!) Link to comment Share on other sites More sharing options...
gr4devel Posted September 17, 2014 Share Posted September 17, 2014 (edited) Ok, the problem could be related to the name give to the select input type. It needs to be something like: array( 'type' => 'select', 'name' => 'your_name[]', 'multiple' => true, ..., 'options' => array( ... ) ) Beware of the square brackets for the select input type name [] . They aren't automatically added by the `'multiple' => true` directive! But actually I think they should. I hope I solved the problem, @NishantVadgama if so go on and mark the topic as solved Edited September 17, 2014 by gr4devel (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts