I used custom validation and that worked. Is there any other rule
available that is specific to a text area.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake
That is correct. alphanumeric only works on un broken strings of
characters - presumably to test things like usernames.
There is no built-in validation rule that checks to see if a phrase
contains only letters or numbers.
On Jan 17, 11:36 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Jan 18, 3:39
On Jan 18, 3:39 am, Rajesh <[EMAIL PROTECTED]> wrote:
> I have a field called comment which is of type text in db. And i have
> the validation rule as alphaNumeric, required=true and message=>'some
> message' in the model. The field is rendered as text area. Now if i
> enter the value of comment
I have a field called comment which is of type text in db. And i have
the validation rule as alphaNumeric, required=true and message=>'some
message' in the model. The field is rendered as text area. Now if i
enter the value of comment as "sometext", this works fine and gets
stored in db, but when