I notice when I use the form helper like:

<?php echo $form->input('Email'); ?>

it keeps resulting with an added div tag around it like so:

<div class="input text"><label for="Email">Email</label><input
type="text" id="Email" value="" name="data[Email]"/></div>

Is there a way to prevent the form adding its own markup?

Also, I notice cakephp automatically gives the input name the name of
the label. But say I want my label and input name to be different. How
do I accomplish this?

For example, I would like my label to be Email: (with :) but I dont
want the : in my input name.

Thanks!

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