The HTML5 forms component in AEM offers rendering XFA form template to HTML5 format. Form designers can design form templates using Forms Designer and use the HTML5 rendition capability. These form templates, along with their assets, can reside in AEM repository, file system, or exposed via http. However, if you plan to manage your forms using Forms Manager, the templates and assets should reside in the AEM repository.
Although HTML5 forms match the behavior of the PDF forms to a great extent, there are some features in both formats that are not be applicable to the other format. For example, how barcodes get applied on a PDF form in Adobe Reader varies from a Mobile form or how a form is digitally signed also varies between the formats. For more information on such variations, see Feature differentiation between HTML5 forms and PDF Forms.
For common XFA features, see the following best practices and guidelines to design a form that works in both formats.
Most steps around designing a form template, such as schema bindings or writing form logic are same. However, due to inherent differences between rendering and scripting engine of a thick client like Adobe Reader and browser-based forms, there are some recommendations described in the best practices article. These best practices help you design form templates to work as expected in both formats.
The Preview HTML tab is added in the Design mode for Form Designers to preview forms in HTML5 format during the design process. For more information on how to enable and configure this capability in LiveCycle Designer, see Preview HTML.
The key target for HTML5 forms is touch devices. Therefore, a new scribble signature control is added in LiveCycle Designer. You can click or drag-and-drop the scribble signature control on your form template and configure it. It is rendered as a scribble field in HTML5 rendition and can be used to scribble signature on touch devices. On desktop machines, it can be used as a scribble field using mouse control. For more information on how to use this feature, see XFA Scribble Field.