i’m trying to just create a “selected” option and currently this is
what i have:

$html->SelectTag(’Event/is_private’, array(”Y” => “Yes”, “N” =>
“No” ), array(”tabindex” => 4));

basically i just want the “Yes” option to be the default, and i can’t
seem to wrap my mind around the idea of $optionAttr array to feed it
the proper value.

sry i’m a noob.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to