I'm not sure what you're asking exactly, but here's an example of
using some of the options in the form helper:
echo $form->input('phone1', array('label' => array('text' => 'Phone
Number', 'class' => 'left'), 'maxLength' => '3', 'before' => '<div
class="phone-required">', 'class' => 'phone', 'div' => false ));
echo $form->input('phone2', array('label' => array('text' => false),
'maxLength' => '3', 'class' => 'phone', 'div' => false ));
echo $form->input('phone3', array('label' => array('text' => false),
'maxLength' => '4', 'after'=> '</div>', 'class' => 'phone', 'div' =>
false ));

I'm not an expert by any stretch, but the above works.  The form
helper is very flexible.

--Jeremy

On Feb 9, 2:12 pm, Mech7 <[EMAIL PROTECTED]> wrote:
> Is there a way to template the html generated by the form helper ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to