Modules are the subsections of the screen where the input fields are placed. The module configurations provide a list of features to include in smart forms. Users can add rows and columns in smart forms based on their respective designs. Module configuration requires the user to specify a database table name, table keys, and sequences to store user inputs, and also provides an option for the user to write SQL queries inside the configuration to retrieve values from the database. Users can drag and drop a list of required fields inside the module layout to create the desired form. Fields are a type of input values that are used inside the module layout to store different kinds of user inputs. The types of fields supported by ONEWEB smart forms are as follows:
Text box
Text and Numbers
Label
To show static labels on the screen. It comes with Rich text options.
Hidden
Hidden fields on the screen. Mostly used to manipulate the module keys.
Text Area
Field to enter the text of more than 100 characters
Radio
button To allow selection of a specific choice from multiple choices.
Checkbox
To allow selection of one or more data from multiple choices.
Listbox
To display a list of static data as a dropdown. The values to be shown are set in the field itself.
Dynamic List
To display a list of values dynamically as a dropdown. Its data is shown from a table in the database and can be controlled to show values depending on another field in the module.
Popup
To display a list of data from a table in the database as a popup window. It also has a text box for searching data based on the key
Calendar
To enter date fields
Suggestion box
This field can suggest data to the user in a dropdown based on the data keyed in. Moreover, users can use the keyword search in this field
No Object
Special field use to display a custom value on the screen that is not part of the data in the table of the module.
Multi Select
To provide multi-select option.
Upload
To attach and upload files.
AppDesigner supports 3 types of modules:
One to One (1-1): One to One on ONEWEB displays and manages data fields corresponding to one record in the database. To build a smart form with a 1-1 module, you can begin with creating an entity, tab as per requirement and ready to start with the module configuration. The 1-1 module has a row and column layout where you can simply add rows and columns as per your required design.
Below is an example of a 1-1 Module with 5 rows and 2 column layout, the module configuration provides a list of property settings (1-7). To see all property configuration settings in detail, please refer 1-1 Module section in App Designer Reference.
One to Many (1-Many) A "One to Many" module displays and manages data for multiple records in the database. It shows data in a tabular form. This type of module supports both grid and card layout for the table and allow users to handle a large number of items and columns.
Below is an example of a 1-Many Module with 13 columns. To see all property configuration settings of 1-Many Module in detail, please refer 1-Many Module in reference links.
Below picture shows user screen for a smart form with 1-1 Module and 1-Many Module Configuration.
Reuse Module: The Reusing feature under the module section is used to support the reuse of existing modules. Using this module feature you can clone any existing module to your tab. However, It is to be noted that the cloning feature is only limited to the module, fields, and database mapping configurations and any actions configured to that module will not be copied.
The below picture shows Reusing Module Configuration. Please refer to the Reuse Module section in App Designer Reference.