Typed XFA Edits Across Remerge

Version 2.1169.1 allows a native typed change to continue after its local or ancestor listener calls xfa.form.remerge(), provided the same accepted source and editing ownership survive

Pending edit continuity

The runtime preserves the evolving change, selection and computed newText across admitted listeners and repeated remerges

Ordinary and repeated instances retain their accepted data context, including an explicitly nil context supplied by the instance-scope callback

xfa.event.change = xfa.event.change.toUpperCase();
xfa.form.remerge();
this.parent.log.rawValue += xfa.event.newText;

Use this script as the input field's change handler with the JavaScript provider enabled; an ancestor descendant-listener can subsequently inspect or transform the same pending edit

Recovery and lifecycle order

After automatic widget rebuilding, the runtime proves the continuing source through its declaration, accepted data, live model ancestry and visible interactive widget

It restores editing before nested lifecycle scripts run, so initialization, cancellation and focus handling can still end or redirect that interaction

A pending request to focus the same proved source can follow its rebuilt occurrence; a conflicting earlier focus request does not silently acquire the resumed edit

A later valid focus transfer can commit the transformed buffer and move to its requested target

Failure handling and limits

A removed source, ambiguous occurrence, conflicting focus decision or explicit cancellation prevents automatic continuation and restores the surrounding change transaction

The original operation and elapsed limits remain shared across handlers, remerge and lifecycle work

A bounded transaction can still reach its elapsed deadline under host load; successful continuation does not bypass that deadline

Scope

This profile requires a proved interactive input and does not add migration of hidden generated presentation or physical copies

See XFA Input Event Listeners, Interactive XFA Change Events and Interactive Dynamic XFA Widget Runtime