Form doesn't work when Uploads enabled

lindaneale 22 Jul, 2011
Hi
I've created a couple of forms hidden behind a login. One of them requires that a logo be uploaded. I've enabled attachments in Setup Email Settings, made sure the upload folder is writable and enabled uploads in the File UPloads section, as well as setting the path etc. When File Uploads is disabled my form works just fine, when it's enabled the form isn't submitted.

I've used Chronoforms 3.2 on Joomla 1.5.23.
I've been thru the forum and found other posts but can't find a reason for this. Any help would be appreciated.
Thanks
GreyHead 22 Jul, 2011
Hi lindaneale,

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
lindaneale 22 Jul, 2011
Hi Bob
Thanks. Attached zip file of form. I've turned off the Uploads for the moment to make the rest of the form work.

Thanks Linda
GreyHead 22 Jul, 2011
Hi Linda,

Two little changes needed:[list=a]
  • ON the form General tab add enctype='multipart/form-data' in the Form Tag Attachment box. Usually ChronoForms adds this for you but it doesn't seem to be happening here.

  • On the File uploads tab add a minimum size to the 'Field names/allowed Extensions/sizes(KB)' like this logo:jpg|gif{500-0} instead of logo:jpg|gif{500-}
  • [/list:o]

    Bob
    lindaneale 22 Jul, 2011
    Hi Bob
    Thank you for the fast response. I've done what you suggest but still get exactly the same result. I've backed up the form again and attach as a zip, plus a screenprint of the result. Again I've turned Uploads Off so that the rest of the form works.

    Thanks
    Linda
    GreyHead 22 Jul, 2011
    Hi Linda,

    Is this the latest ChronoForms version 3.2?

    If so there's a bug in the File upload code. Please see this post.

    Bob
    lindaneale 22 Jul, 2011
    Hi Bob
    Brilliant! That's fixed it.

    Thank you so much for the wonderful support.
    Linda
    This topic is locked and no more replies can be posted.