Notice: This thread is very old.
- Member | 60
how to add condition on a value selected? Something like
Is there something better than encounter all the combinations?
<?php $form->addMultiSelect('item', 'Label', array('a','b','c','d','e')) ->addCondition(// if 'e' is selected, meaning anything plus 'e') ->toggle('something'); ?>