We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Error

Weird form app file upload bug

Hi

I've spent a lovely Friday night trying to solve this error! I hope my solution, if it is one, helps someone else.

In the Form App perch:input file uploads with accept="[any mime type]" set on them will fail* (at least on my MAMP and production servers) if you set the order of apps in a form tag like this:

    <perch:form id="appointment" method="post" app="perch_forms perch_mailchimp" double-optin="true" send-welcome="true">

Swapping the apps over fixes the error.**

    <perch:form id="appointment" method="post" app="perch_mailchimp perch_forms" double-optin="true" send-welcome="true">

*The form submits but the page layout breaks

**Found this out via a combined effort of absolute desperation and total fluke.

Jonathan Elliman

Jonathan Elliman 27 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You need to specify the apps in processing order, so the latter is correct.

Ah right! Thanks Drew.

I've found your instructions at the bottom of the Mailchimp Templage Tag page.

RTFM I guess!