I have been working with Livecycle before, but now I'm doing some AEM Forms 6.4 and have no clue to solve this. Could you help me with some guidiance?
I want to have a adaptive form that the user can fill in. After the user has filled it in, they should be able to click "Submit" and we send an PDF and json/xml(of the data in the form) to a 3rd party system and redirect the user to a "thank you"- page with the PDF that they can download.
I have created a adaptive form thats sends a post, but where do I add the PDF, json/xml and redirects it?
You have multiple option in the out of the box submit. You can probably use the submit to rest endpoint and map the post URL in the field. You will have to iterate the request parameter on the servlet that it submits to and send it further as required. You can configure the thank You page as well in the same submit action.