I'm using cake_1.1.14.4797 and the model name is: Item I can validate my other form fields easily by defining the $validate array in the model and calling the tagErrorMsg() function in the form, but with the file field this doesn't work, one reason seems to be that the field name has to be 'Filedata' in order for SwfUpload to process the file, instead of using something like 'Item/filedata'
I see that all the other form field values are available in $this- >data['Item'] while the file comes through in $this->params['form'] ['Filedata'], and this is due to the way the field is named in the form, but now I'm not sure how to use this knowledge to peform and alternative type of validation thanks in advance for any help for this newbie! so far using this RAPID development framework takes 3 time as long as doing things with plain old PHP, hopefully things well speed up once I get past some of these basic issues --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
