Hello,
I had a silly question, but i can't seem to find the answer in the
manual. I want to create a drop-down menu or select box in my form.
I'm using htmlhelper in my form and i'm not sure how to setup a drop-
down/select box when i'm using htmlhelper.
A sample of code from my form (the first few lines) is:
<?php echo $html->formTag('/users/register') ?>
<p>Please fill out the form below to register an account.</p>
<label>First Name:</label>
<?php echo $html->inputTag('User/first_name', array('size' =>
'40' )) ?>
<?php echo $html->tagErrorMsg('User/first_name', 'first name is
invalid') ?>
Could anyone point to some instruction on how to add a similar input
for a drop-down/select box? Maybe a tutorial?
thanks,
andrew.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---