Hello and thank's for replies!
Do you know if it's scheduled to optimize the $form-textarea method
in next releases?
Because is not natural using $form-input for this kind of
field... and it's not practical using 3 instructions instead of 1!
The same problem exists within $form-checkbox...
Bye
On Nov 9, 10:13 am, avairet [EMAIL PROTECTED] wrote:
Hello and thank's for replies!
Do you know if it's scheduled to optimize the $form-textarea method
in next releases?
Because is not natural using $form-input for this kind of
field...
How so? Irrespective of how html represents it,
OK AD! Thank's for your help.
How so? Irrespective of how html represents it, it's user input.
Yes, all fields in a form are user input, but in (X)HTML and
semantic context, a textarea is different to a text input!
And if a method is called textarea and an other input, the
developer is tempted
Hi everybody,
I'm French and I'm using CakePhp 1.2 since one month.
I don't understand why the validation error messages are not
displaying for a textarea field...
My model:
[code]
class Article extends AppModel {
public $name = 'Article';
public $validate = array (
A little solution: in the view, I add echo $form-
error('Article.contenu); under echo $form-
textarea('Article.contenu'); !
But this is not very useful compare to the input fields method.
Why adding echo-label and echo-error to manage textarea error
message displaying?
Excuse me for my simple
maybe instead of
echo $form-textarea('Article.contenu');
use
echo $form-input('Article.contenu', array(
'type' = 'textarea'
));
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post