updating main unloading subform...
Address Collection with a Subform

This Demo shows a simple address collection form. It uses a subform for editing a single entry.

When hitting 'edit selected' the subform is loaded and currently selected data (repeat-index) are passed to it.

When 'update table' is clicked, the subform will trigger the main form to reload its data which have been updated by the subform. Afterwards the subform is unloaded from XForms processor and rendered DOM.

Demonstrates exchange of data between models with a context submission.

Title First names Name Street ZIP Code City Country edit selected This button will push the selected data into the subform.loading subform...