My form is quite large with around 50 fields, and the submission process is working fine. However, I am looking to add a new feature that allows users to generate a PDF of the data they have filled in.
I already have a simple PDF mechanism set up on a different server, but I need a way to transfer the form data to that server without actually submitting the form on the current server.
How can I achieve the following:
- Send all the form data to another server
- Receive a PDF file while remaining on the form page and still being able to submit the form