Data Modals
Configuring Data Objects used In Form
When a user is partially though a form and needs to select record that does not exists already or is erroneous, an edit to a writable data object will ensure users can continue their work efficiently. To enable the user Add/Edit buttons are displayed that when clicked reveal an User interface, known as a data modal, whereby users can make changes to the data source independent to their in progress form. Changes to the data are committed immediately.
![WritableInform002.jpg 808](https://files.readme.io/33666ae-WritableInform002.jpg)
To configure the in form data writes two core steps need to occur
- Create a Data Modal Project to represent the Writable Data Object, this can be used across multiple forms.
- Configure your forms such that they know to allow the user to open the above modal.
Creating a Data Modal Project
A data modal project is essentially a form with questions appropriate to a record within a data connection. Modals appear blank when creating new records or pre-populated when editing an existing record.
With your writable data object Configured configured in Manage Open Design and Create a New Project, give it an appropriate name and select Data Modal as the project type. Drop downs for which writable data object this modal should target will appear.
![WritableInform003.jpg 777](https://files.readme.io/5345652-WritableInform003.jpg)
Data Modal projects target a particular writable data object
Design will open, features appropriate to the Data Modal Projects will appear. Note the placeholder fly-out will be populated with the writable data object's fields.
![WritableInform005.jpg 1237](https://files.readme.io/aea5afc-WritableInform005.jpg)
A data modal's placeholder's tab reveals the fields of its writable data object.
Drag and Drop a questions appropriate to the data object, more information about data types and appropriate quesitons can be found here.
Screen Size
Data Modals appear in a small screen in the foreground of the form, do not over clutter the questions left to right.
![WritableInform006.jpg 1234](https://files.readme.io/a592d53-WritableInform006.jpg)
Map the writable data object's placeholders to appropriate question types
At this point the modal is ready for use, however is not called upon by any forms, this next step is described in the section below.
Adding Data Modals to Forms
With a data modal prepared, open an appropriate form and select the data question for which the modal is to be attached to reveal its properties. Clearly the data question will need to target the same data object as the modal, essentially resulting in an onscreen list of the existing records and utilizing the modal to add and maintain existing. Find the modal drop down and select an existing data modal. The list will be filtered to modals of this data object.
After selecting the Modal you will be prompted for an (optional) title and what tasks you want to allow users to perform. Make selections and save your project.
![WritableInform007.jpg 1232](https://files.readme.io/fe2a961-WritableInform007.jpg)
Select and configure a modal for the data question.
Run the form in Produce, add and edit records, confirm that the records appear modified as desired.
![WritableInform007.jpg 1548](https://files.readme.io/8a5b608-WritableInform007.jpg)
End user result
Keywords: Data Modal , Modal, Data Modals, Modals, Modal Window, Pop up modal, popup modal
Updated about 1 year ago