Form Submit Complete

Block Information

Available in: Page Flow

Toolbox Category: Form

Block Type: Terminal

The Form Submit Complete block is used in custom forms (where no database table is attached), to signal back to the system that the submission of the form is complete. This block is used in the context of Form Events block's Submit Tasks flow parameter.


Usage Example

The image below shows an example of the Form Submit Complete block used inside the function sendFormDataToMyCustomPlace, which is invoked in the context Form Events block's Submit Tasks flow parameter.

In the above case, when the API call succeeds the Set Form Event Status block is used with the status of OK, following which the Form Submit Complete block is used.

If the API call fails, the Set Form Event Status block is used again, but this time with the status of ERROR, and again we use the Form Submit Complete block to signal the completion.

Last updated