When you create a dynamic form, the first step is to create the form itself, declare what type it will be, whether plain or wizard, the form title, reference name, and whether the form will be resumeable or not.
You can create a new Dynamic Form using the UI that WorkWithPlus provides, or programmatically.

The properties to assign are the following:
The options are Plain or wizard. You can switch from Plain to Wizard after the Form has elements and each Step will be replaced by a Container of type Panel. If you want to do it the other way round (from Wizard to Plain), the restriction is that the Form must have as first children only Containers of type Panel with titles (and for each Panel of the first level will create a Step).
Form name that will appear when an end-user fills the form.
Is the property that represents the dynamic form internally.
It is required to call the instantiator by passing this name as a parameter.
What happens if the user leaves the form after filling out some fields? The options are Never, Ask user or Always.
- Never: you will always start to fill a form from scratch.
- Ask user: the end-user will determine whether to resume a form or start a new one.
If the user is asked, a field called 'Resume message' is enabled, in which, for example, a question can be entered if the user wants to resume the form or not.
- Always: it will always resume a form if there was one started and not finished.
In order to return to these settings after you have already created the form, just press the button "Settings" that is on the bottom of the page:

Example of creating a Dynamic Form and assigning the main Settings:

In order to create a Dynamic Form programmatically, you need to create each element using a Business Component and assign to each one its properties. For more information follow the link:
|