I am new to cake... i have been doing a lot of reading, but somethings
i still can't figure out.
This is what I have:
echo $form->select('State', array('NJ' => New Jersey', 'NY' => 'New
York'));
I want to remove the empty option of this select box. According to the
API I need to add $showEmpty = false to the code above.. but where do
I add it? I tried in several different locations and it won't work.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---