Hi, I'm using the following to validate a file upload field:

- type: File
  name: photo
  label: 'Photo:'
  constraints:
  - type: File::Size
    minimum: 1
    maximum: 500000

Yet, when I attempt to upload a 15 kb file, which should be well within
the parameters, the form invalidates with a "File-size must be between 1
and 500000 bytes" error. Is this a familiar issue, or something I can do
to resolve this?

TIA,

-- 
Erez

Observations, not opinions.

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to