In AEM Forms, you can preview the forms and documents present in the repository. Preview helps to know exactly how the forms look and behave when they are released to the end users.
When previewing forms, they are rendered in interactive interface and the user can fill the forms with data. When previewing documents, they are rendered in non-interactive mode and the user can only view the document. For forms, an additional option of Custom Preview is available. Using this option, you can preview the form using data from an XML file. The data fills up some or all of the fields of the form being previewed.
The following table lists the preview options available for different types of supported forms:
||Available preview options
|PDF Form||PDF preview and Preview with Data
|adaptive form||HTML preview and HTML preview with Data|
|Form Template||PDF preview, PDF preview with Data, HTML preview, HTML preview with Data
When you select Preview with Data, you can see how the form looks with real data entered in it. Preview with Data option lets you upload an XML that contains sample user data. The sample user data is used to populate the preview form in the format you choose.