Data Input Popup
Last updated
Last updated
The Data Input Popup
block is used to present an automatically generated form as a popup, for adding or editing a in a .
The block consists of the following (from top to bottom):
The image below shows an example of Data Input Popup
the block.
Here is a summary of the above example:
The Data Input Popup block
is used to present a popup form for the Customers database table.
Since the Data parameter is unassigned, a new record will be added to the database based on the user's input.
Upon a successful completion, the function do something is invoked, where an app specific action can be taken.
This block behaves similarly to the block, with some differences which are outlined below:
Data Input Popup
block does not require a and automatically generates one based on the .
Data Input Popup
block does not offer any customization for the design and layout of the field input elements, whereas block does.
Title: that accepts a value to use for the title of the popup.
Table: that accepts a value representing the name of the .
Dataset Name: Optional that accepts a value representing the name of the dataset. This is only needed if the Dataset Refresh parameter will be set to a value of true.
Data: Optional that accepts an value representing the record to be edited. If unassigned, the popup will create a new record.
Dataset Refresh: that accepts a (true/false) value to indicate if you want the system to refresh the records in the same dataset after successful completion.
Success Tasks: a where you connect blocks that specify what you want done when the operation completes successfully.
NOTE: Please refer to the prerequisite information shown before seeing the example.
The block is used to handle a event for a button.
The result for the above example is shown in the image below, where the automatically generated form has all the fields in the .