Modules are the sub sections of the screen where the input fields are placed. The module configurations provide a list of features to include in smart forms. User can add rows and columns in smart forms based on their respective designs. Module configuration require user to specify database table name, table keys and sequences to store user inputs, and also provide an option for user to write SQL queries inside configuration to retrieve values from the database. User can drag and drop a list of required fields inside module layout to create a desired form. Fields are type of input values that are used inside module layout to store different kinds of user inputs. The types of fields supported by ONEWEB smart forms are as follows:


Field Type

Description

Text box

Text and Numbers

Label

To show static labels on the screen. It comes with Rich text options.

Hidden

Hidden fields on screen. Mostly used to manipulate the module keys.

Text Area

Field to enter 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. It 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 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 user in a dropdown based on the data keyed in. Moreover, users can use 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:


  1. 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 1-1 module, you can begin with creating 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 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.



  1. 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 large number of items and columns.


Below is an example of 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.



  1. Attach Module:

The attach module is used to support attachment of electronic documents within your smart forms. Using this module you can directly attach any file that was submitted within your form.


Below picture shows Attach Module Configuration. To see all property configuration settings of an Attach Module in detail, please refer Attach Module section in App Designer Reference.