XFA support in XDP-based adaptive forms xfa-support-in-xdp-based-adaptive-forms
Introduction introduction
Adobe recommends using the modern and extensible data capture Core Componentsfor creating new Adaptive Formsor adding Adaptive Forms to AEM Sites pages. These components represent a significant advancement in Adaptive Forms creation, ensuring impressive user experiences. This article describes older approach to author Adaptive Forms using foundation components.
Adaptive forms supports various XFA events, properties, scripts, and validations defined in an XDP file, including:
- Execution of scripts defined on events in the XDP file.
- Capturing default values and behavioral properties for fields in the XDP file.
- Execution of validation scripts defined in the XDP file.
When an adaptive form is created based on an XDP file, the properties, events, and validations are auto-populated in the form authoring UI. However, form authors can override some of these elements to create an alternate experience.
This article lists supported XFA events, properties, and validations honored in adaptive forms and explains how to override them in adaptive forms.
Supported XFA elements and their mapping in adaptive forms supported-xfa-elements-and-their-mapping-in-adaptive-forms-br
Fields fields
When an adaptive form is created using an XDP file, you can drag-drop an XFA field onto the adaptive form. The following table lists how XFA fields are mapped to adaptive form fields.
Properties properties
The following table captures how various XFA scripts defined in the XDP files behave in adaptive forms.
Scripts scripts
The following table captures how various XFA scripts defined in the XDP file behave in adaptive forms.
Validations validations
The following table captures how XFA validations map to validations in adaptive forms.