I understand how to use $html->selectTag pretty well. I was wondering
if there was an effective way of setting the selected option in
selectTag based on the item you're editing.

So a user can have two options for status, for example, active or
locked. If the user is locked I want my $html->selectTag to
automatically select 'locked'. Can I use $data in my view to see what
the original status is (pulled from the database)?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to