Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Creating new PDF\'s from the input of a form


Level 4

I posted a similar message to this one about 3 months ago. I had to work on other projects and also learn more about the process to make this happen. In a nutshell, here's what I'm trying to accomplish:

  1. User downloads form from our website and fills it in. (dynamic form is complete)
  2. User clicks "Submit Form" button on form and XML data is sent to our server. (I'm currently learning about MySQL and PHP, not my forte)
  3. PHP script on server receives XML and adds input (field data) to database.
  4. Once that data has been input, another (or the same) PHP script will pull that data from the database and populate a pre-formatted PDF with it.
  5. Finally, the new PDF will be sent back to the user as an attachment to an email.

Does this sound like the way it should be done? If so, could someone with experience in doing this provide me with a rough sketch of the sorts of necessary components that will come into play so that I can create a list of things to learn? At this point, what I DO know is that the form will submit its information in XML format and be read by a PHP script. That's about it.



2 Replies


Level 10

If it satisfies the requirements then it makes sense.  ;^)

I have not done PHP development but I am guessing you will need at least:

1) a PDF library for PHP to do data import/export

2) an XML library for parsing

3) and a MySQL database driver



Level 4

Thanks Steve, that's a start for sure!