Form will not submit using the File Attachment OOTB Component in the Publish Server
Submitting the form does not submit when the "File Attachment" adaptive form component exists on the adaptive form. No logged in users are proceeded, the form is published, and the submit action is the simple out of the box email submit action.
On submit, in the network tab, I can see that the HTTP Request URL stops at /content/forms/af/my-test-adaptive-form/jcr:content/guideContainer.af.internalsubmit.jsp. Typically on a successful submission, the HTTP Request URL should go to /content/forms/af/s/jcr:content/guideContainer.af.submit.jsp
I performed some tests:
test 1: logged in as admin
- works perfectly
test 2: logged in as test-user; this user is a member of form-user group
- works perfectly
test 3: anonymous user (not logged in)
- like the description above, the HTTP Request URL is stuck /content/forms/af/my-test-adaptive-form/jcr:content/guideContainer.af.internalsubmit.jsp
test 4: anonymous user (not logged in); his user is a member of the administrator's group
- like the description above, the HTTP Request URL is stuck /content/forms/af/my-test-adaptive-form/jcr:content/guideContainer.af.internalsubmit.jsp
Questions
- What can I do to enable the file attachment component for anonymous users in my published adaptive form?
- I understand the flow of a submission. Files are uploaded when only when files exist, but what is the implementation of this? I need a lower level understanding of what engineering decisions were in this case, because of anonymous users not able to upload files. Documentation - Adobe Experience Manager Help | Writing custom Submit action for adaptive forms
Additional Details:
- File Attachment Component - /libs/fd/af/components/guidefileupload
- Submission Action - /libs/fd/af/components/guidesubmittype/email
- Adaptive Form Status: Published

