It worked thanks!
On Monday, April 13, 2015 at 6:18:36 PM UTC+2, John Andersen wrote:
>
> The validation in your model points to a field named "image", but the view
> you have points to a field named "submittedFile" :)
> Which is the correct one?
> Enjoy, John
>
> On Monday, 13 April 2015 11:17:1
Hi,
thanks, will try this ASAP. I got it mixed up thiking it was an
alias/name/labe as in multiple validations per field. :-S
On Monday, April 13, 2015 at 6:18:36 PM UTC+2, John Andersen wrote:
>
> The validation in your model points to a field named "image", but the view
> you have points
The validation in your model points to a field named "image", but the view
you have points to a field named "submittedFile" :)
Which is the correct one?
Enjoy, John
On Monday, 13 April 2015 11:17:13 UTC+3, Willem wrote:
>
> I have a model "Attachment" which Belongs to another model (hasMany
> At
I have a model "Attachment" which Belongs to another model (hasMany
Attachment).
In model Attachment I put a validator (from the Cake helpbook) to check
against filetypes. After saveAssociated i would expect an error if uploaded
a .txt file, but the model is save successfully?
*Add.ctp*
for