Hi,
I'm trying to use the inputs method to logically group a couple of
textfields but I haven't figured out how to specify the legend of the
fieldset. For example:
<?php echo $form->inputs(array('ftp_user',ftp_password')); ?>
Creates the fieldset but with a default legend of "New Server" (where
Server is the name of the model). If I specify a first parameter with
the model name like:
<?php echo $form->inputs('Server', array('ftp_user',ftp_password')); ?>
Then all the fields of the model are included in the fieldset with the
legend "Server". What I want to do is to group just a couple of the
fields of the model but with a custom legend, for example "Remote
Login Information" but I don't get how to do that using the inputs
method of formHelper. Ideas ?
Thanks.
Cheers,
--
Juan Luis Baptiste
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---