Oh, because input type=text class=maxLength(20) / work so I
thought the syntax is correct.
Thx, I will try that later.
On Feb 2, 2008 12:58 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Jacky schrieb:
I tried to do this
textarea id=textarea cols=20 rows=4 name=desc
class=maxLength(20) title=Description max length is 20/textarea
But it doesn't work.
So I guess it's not supported in textarea and I will need to add method?
That syntax isn't valid. You've got two options to inline rules in this
case:
textarea id=textarea cols=20 rows=4 name=desc maxlength=20
title=Description max length is 20/textarea
textarea id=textarea cols=20 rows=4 name=desc
class={maxlength:20} title=Description max length is 20/textarea
The latter requires the metadata plugin. Please note that maxLength and
maxlength are currently the same, but maxLength is deprecated.
Jörn
--
Best Regards,
Jacky
網絡暴民 http://jacky.seezone.net