I have added below code in my config.xml file to add one option in Magento multi select captcha section

    <captcha  translate="label">

It look like this. enter image description here

Now I want to get value of this multi-select option. How can I get this multi select value?

  • Nice point that you have raised. +1 for that. And thanks for accepting my answer – Shoaib Munir Apr 16 at 6:01
  • You welcome @ShoaibMunir – Jaimin Apr 16 at 12:52

configuration value would save in comma separated values so you can explode it to get it in array form

Try this code:

$configValue = Mage::getStoreConfig('sectionName/groupName/fieldName');
$configValue = explode("," $configValue);

the final $configValue would be an array

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.