You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/internal/models/v2/form/FormContainerImpl.java
+19-1
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,8 @@ public class FormContainerImpl extends AbstractContainerImpl implements FormCont
Copy file name to clipboardExpand all lines: bundles/af-core/src/test/java/com/adobe/cq/forms/core/components/internal/models/v2/form/FormContainerImplTest.java
Copy file name to clipboardExpand all lines: ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/container/v2/container/README.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ Adaptive Form container written in HTL.
24
24
* Thank you page
25
25
* Thank you message
26
26
* Ability to drop other adaptive form components
27
+
* Auto save feature for Drafts
27
28
28
29
### Use Object
29
30
The Adaptive Form Container component uses the `com.adobe.cq.forms.core.components.models.form.FormContainer` Sling Model for its Use-object.
@@ -88,4 +89,6 @@ Apply a `data-cmp-is="adaptiveFormContainer"` attribute to the `cmp-adaptiveform
88
89
Applying `data-cmp-adaptiveform-container-loader` attribute to the div specifically for applying the loader class on it, it is to ensure that the loading icon should not appear over components.
89
90
90
91
Applying `data-cmp-custom-functions-module-url` attribute to the div to point to the edge delivery URL of the custom functions file. Custom Functions exported from this file will be registered in Function Runtime.
91
-
This Url should whitelist the AEM author/publish domain in the Cross Origin Resource Sharing (CORS) configuration.
92
+
This Url should whitelist the AEM author/publish domain in the Cross Origin Resource Sharing (CORS) configuration.
93
+
94
+
Applying `data-cmp-auto-save` attribute to the `cmp-adaptiveform-container` block to control the auto-save functionality. If the attribute's value is set to true, auto-save will be enabled for the form; otherwise, it will not be triggered. This attribute will be set to true in published mode if enableAutoSave is enabled.
Copy file name to clipboardExpand all lines: ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/container/v2/container/clientlibs/site/js/formcontainerview.js
0 commit comments