Outputs
Outputs include component such as Alert.
Alert
The Alert component allows you to setup and define the alert message that will appear prior to submission of the form.
This component need to be used with a workflow and ETL. It is invisible in the form itself.
It has the following property.
Field | Description | Default |
---|---|---|
Id | Name of the component that will be displayed in the form structure. | “alert1” |
Example
In the example below, three modules are required:
- Forms
- Workflow
- ETL
Create Form
In the Forms module, create a simple form named “TestAlert” with the following components:
- Alert component
- Text Input component
- Button Bar component
Create ETL
In the ETL module, create an ETL chainset named “OnSubmit” with two ETL steps.
Create Workflow
In the Workflow module, create a simple workflow and name it “AlertWorkflow”.
In the “submit” transition, select “OnSubmit” ETL from the drop-down list in the “OnTransition” field.
Run Form
In the Forms module, run TestAlert with the AlertWorkflow created earlier.
In the form, enter any text in the textbox and click on the “Submit” button. A pop-up box will appear prompting you the text you have entered in the textbox.
Click on the “X” button to close the pop-up box.