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.

XFA field or containerCorresponding adaptive form component
ButtonButton
Check BoxCheck Box
List BoxDrop-down List
Date/Time FieldDate Picker
Signature ScribbleScribble Signature
Numeric FieldNumeric Box
Decimal FieldNumeric Box
Text FieldText Box
Password FieldPassword Box
ImageImage
TextText
SubformPanel
Area (Group)Panel
Subform SetPanel

Properties

The following table captures how various XFA scripts defined in the XDP files behave in adaptive forms.

XFA component propertiesCorresponding behavior in adaptive forms
somExpressionMapped to the Bind reference (bindRef) property in adaptive form.
presenceMapped to the visible property in adaptive form. You can override it using the Visibility expression.
accessMapped to the enabled property in adaptive form. You can override it using the Access expression.
Accessibility: roleMapped to the role property in adaptive form.
Accessibility: speakPriorityMapped to the speakPriority property in adaptive form.
Accessibility: speakTextMapped to the custom Accessibility text in adaptive form.
Accessibility: toolTipMapped to the short description property in adaptive form.
caption (all Field types)Mapped to the Title property in adaptive form.
displayFormat (all Field types)Mapped to the Display Pattern in adaptive form.
rawValue (all Field types)Mapped to value property in adaptive Form.
items (List Box, Check Box)Mapped to options property in adaptive form. You can override it using the Options expression.
maxChar (Text Field)Mapped to the Maximum characters allowed property in adaptive form.
multiline (Text Field)Mapped to the Allow multiple lines property in adaptive form.
fracDigit (Numeric Field, Decimal Field)Mapped to the Frac digits property in adaptive form.
leadDigit (Numeric Field, Decimal Field)Mapped to the Lead digits property in adaptive form.
multiSelect (List Box)Mapped to the Allows multiple selection property in adaptive form.

Scripts

The following table captures how various XFA scripts defined in the XDP file behave in adaptive forms.

XFA script eventsCorresponding behavior in adaptive forms
initializeThis script is executed at runtime and cannot be overridden in adaptive form.
calculateMapped to the Calculate expression in adaptive form.
validateMapped to the Validation expression in adaptive form.
validationStateThis script is executed at runtime and cannot be overridden in adaptive form.
exitThis script is executed at runtime and cannot be overridden in adaptive form.
click (button fields)Mapped to the Click expression of the button.
Support for server-side scriptThis script is executed at runtime and cannot be overridden in adaptive form.
Support for web servicesThis script is executed at runtime and cannot be overridden in adaptive form.
Change (scribble field, radio button, check box)This script is executed at runtime and cannot be overridden in adaptive form.

Validations

The following table captures how XFA validations map to validations in adaptive forms.

XFA validationCorresponding validation in adaptive form
Validation Pattern (formatTest)validatePictureClause
Validation Pattern Message (formatTestMessage)validatePictureMessage
Required (nullTest )mandatory
Empty Message (nullTestMessage)mandatoryMessage
Validate script (scriptTest)validateExp
Validation script Message (scriptTestMessage)validateMessage
NOTE
You cannot override mandatory property for adaptive form radio button and check box group that are bound to XFA check buttons.

Experience Manager


Espressos & Experience Manager: AEM Forms

Espressos & Experience Manager

Thursday, Mar 6, 7:00 PM UTC

Join Adobe's AEM product team as they highlight AEM Forms' latest innovations, including: the new Gen AI Assistant, Unified Composition with AEM Sites, and new ways to deploy forms through conversations.

Register

The Future of Forms: Experience Success Across the Enrollment Journey

Online | Session | General Audience

Adobe Experience Manager Forms is the conversion engine to fully capitalize on engagement and personalization efforts, yet it’s frequently...

Wed, Mar 19, 2:00 PM PDT (9:00 PM UTC)

Register

Driving Marketing Agility and Scale: Transforming your Content Supply Chain with AI

Online | Strategy Keynote | General Audience

Marketers everywhere are feeling the pressure to deliver impactful campaigns faster and at greater scale. This Strategy Keynote explores...

Tue, Mar 18, 2:30 PM PDT (9:30 PM UTC)

Register

Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more