Expand my Community achievements bar.

SOLVED

Multi-Steps Adaptive Forms [Dynamic PDF Generation]

Avatar

Community Advisor

It appears that Wizard Layout allows to create Multi-Step forms in Adaptive Forms. 

Is it possible to leverage Adaptive Forms for dynamically generating PDFs based on input from a Multi-Step Form? If so, kindly provide the steps for generating PDFs.

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

The easiest option is to use the same xsd with your xdp and adaptive form 

so when you submit the adaptive form you can merge the data with xdp to generate the pdf

for images you will have to include the base64 encoded string in the xml 

View solution in original post

4 Replies

Avatar

Employee Advisor

yes, you can always take the data filled in the Adaptive Form and merge the same with xdp template to generate PDF

 

Avatar

Community Advisor

Could you please provide Adobe documentation links that describe XDP elements and attributes?

Specifically, I'd like to understand how to include elements such as images, titles, checkboxes, text, and text with borders. The images will be dynamic based on user input in the multi-step form.

Furthermore, do we need to develop a custom servlet, or is there built-in support available for this?

Avatar

Correct answer by
Employee Advisor

The easiest option is to use the same xsd with your xdp and adaptive form 

so when you submit the adaptive form you can merge the data with xdp to generate the pdf

for images you will have to include the base64 encoded string in the xml 

Avatar

Employee

@Mahedi_Sabuj Adaptive Forms have support for Document of Record (PDF) generation which have 2 options:

  • Auto-generated Document of Record - where you can dynamically generate the PDF having form field information - without an existing XFA document specific to the form
  • Custom XFA or Acroform based template - to provide a custom appearance to your Document of Record

For more details on these feature - you can refer to: generate-document-of-record-for-adaptive-forms