The length parameter is not working for some input fields.  For
example it is not working for a password field:
echo $this->Form->input('password', array('length' => '16'));
... this is not limiting the number of characters entered.

Also it is not working for a captcha field:
<div id="normaltxt">Please enter the code as read from left to right!
Can not read this code?
<?php
        echo $this->Js->link('Click here to reload!', array('action' =>
'reload_captcha'),
                array('update' => '#captchaid'));
        echo $this->Js->writeBuffer();
        echo $this->Form->input('code', array('label' => '', 'length' =>
'6'));
?>
</div>

... is this because of the "div"?

Other times it works fine:
echo $this->Form->input('username', array('length' => '16'));

What is going on?
Thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to