Page 261 of 211,262, showing 20 records out of 4,225,223 total, starting on record 5,201, ending on 5,220
# | Username | Text | |
---|---|---|---|
# | Aug 8th 2008, 12:13 | teknoid | agentbob: actually, no 1.1 supports 'or' arrays as well |
# | Aug 8th 2008, 12:15 | agentbob | teknoid: do you know of any examples? trying to look at dbo_source and model_php5 but it's not overly simple... |
# | Aug 8th 2008, 12:15 | aarkerio | HI! I set a validation rule in my Model and set $form->error('Model.field'); in my view |
# | Aug 8th 2008, 12:15 | teknoid | agentbob: why not look in the manual, like i suggested? |
# | Aug 8th 2008, 12:15 | agentbob | i did, it only mentions using a sql string |
# | Aug 8th 2008, 12:15 | agentbob | under the models section of the manual |
# | Aug 8th 2008, 12:15 | aarkerio | the weird situation is I am seeing the validate message twice |
# | Aug 8th 2008, 12:16 | agentbob | http://manual.cakephp.org/view/312/models claims $conditions is a string |
# | Aug 8th 2008, 12:16 | teknoid | agentbob: what does it say under "complex find conditions"? |
# | Aug 8th 2008, 12:16 | teknoid | aarkerio: do you use $form->input()? |
# | Aug 8th 2008, 12:16 | aarkerio | yea! |
# | Aug 8th 2008, 12:17 | agentbob | teknoid: ah, thanks! |
# | Aug 8th 2008, 12:17 | teknoid | agentbob: np |
# | Aug 8th 2008, 12:17 | teknoid | aarkerio: then you don't need error() ... input() handles that for you |
# | Aug 8th 2008, 12:17 | aarkerio | I did beacuse in form->textarea I don't see the error messages |
# | Aug 8th 2008, 12:18 | teknoid | aarkerio: because textarea() is not input() |
# | Aug 8th 2008, 12:18 | aarkerio | so, no $form->error in input but yes in another kind ,rigth? |
# | Aug 8th 2008, 12:18 | teknoid | aarkerio: the other way around |
# | Aug 8th 2008, 12:19 | aarkerio | thx teknoid |
# | Aug 8th 2008, 12:19 | teknoid | aarkerio: i.e. error is automatically displayed if you use input() |