DennisHacker
asked on
Yii 1.1 Limiting choices on a dropdown
With the following code in place:
<?php echo $form->dropDownListRow($mo del, 'specialty_id', DoctorSpecialty::listOptio ns()); ?>
How would I limit the possible choices to just two of four? I can't delete the other two from the table because they are used in the database in other places.
<?php echo $form->dropDownListRow($mo
How would I limit the possible choices to just two of four? I can't delete the other two from the table because they are used in the database in other places.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Another option I am seeing is to use Chtml.
Open in new window