I think there may be a bug with the form helper? Can anyone confirm or
tell me if I am doing something wrong?

I made a simple view page:
<?php if ($error): ?>
<p>Email and Password do not match. Please try again.</p>
<?php endif; ?>

<form action="<?php echo $html->url('/members/login'); ?>"
method="post" style="width:250px;">
        <div>
                Email:
               <br />
               <?php echo $form->input('Member/email', array('size' =>
60)); ?>
        </div>
        <div>
                Password:
                <br />
                <?php echo $form->password('Member/password',
array('size' => 60)); ?>
        </div>
        <div>
                <?php echo $form->submit('Login'); ?>
        </div>
</form>

The password field shows up fine, but for me the input field showed up
slightly indented and slightly shorter and then it had the word Email
above the field twice (once for the time I typed it and once for the
time it generated it). The password field didn't do this though. It
just showed the field alone with no indent or or shortening of the
field. My page layout is still the default cake layout. I am using
1.2.

Also another thing I have noticed is that when the page becomes wider
as the result of an error I can not scroll horizontally but rather
highlight drag the entire page over to see what is going on. I am
using firefox 3.

I made my own work around fix for the label issue on the email field
though. I simply went into the form helper file and changed the output
of the function label(...) to return "";  I know this kills all labels
on the site, but i don't really use them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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