Re: Validate against two models from one controller

2010-07-25 Thread Papa_Gateau
Hi Cricket, Thanks for the response. Yes, we will be upgrading the app but its not scheduled for this round of work (I'm still learning my around cake). WRT to my initial question - thanks again. The reason that I have created a dummy model is to apply validation against those fields. However,

Re: Validate against two models from one controller

2010-07-25 Thread Papa_Gateau
Further to my last post - please excuse my noob ignorance, I need to call the validation So I have added the following to my code: $this-Formextra-validates($this-data) and surprise, surprise the validation works. P_G Check out the new CakePHP Questions site http://cakeqs.org and help others

Validate against two models from one controller

2010-07-23 Thread Papa_Gateau
Hi I'm using cake 1.1 and am fairly new to it - I've inherited a fairly complex application which I have been tasked with updating. My problem/situation is this: I have a registration form which takes input and updates a User table. However, there are certain fields that need to be captured