ClearForm Widget

Use this control to clear the user's input from the Form.

Last published at: January 22nd, 2026

Description:

You can use this control to clear the user's input from the Form at runtime. 

 

Inputs

  • Button Type - Warning (by default)
  • ID/Name - Name of widget generated by FlowWright (read-only field)
  • Button label - Provide the name for the button label
  • Hide - Select the checkbox to Hide (tick mark)
  • Read Only - Select the checkbox to Read-Only (tick mark)
  • Save - Save the input values
  • Delete - Remove this form widget from the designer page 
  • Close - Close the input popup window
 

 

 

Design:

 

 

Example:

Let’s build and execute the “ClearFormDef” example.  

  • Create a new Form definition called “ClearFormDef ”
  • Drag a “BootstrapGrid, Label, Textbox, ClearForm, and Submit” control onto the canvas and arrange them as shown below.

 

  • Double-click the “clearForm” control to configure the “Settings” properties. Select the button type from the drop-down list. The application provides the control ID and name. Enter the button label text. Use the checkbox to hide the control or make it read-only at runtime.

 

  • Double-click the widget to open the “Styling” tab. Enter the CSS syntax to enhance the style—the border is highlighted in 10px red in the reference below. Select the class options from the drop-down list to apply to HTML elements. 

 

  • Double-click the widget to configure the “Other” tab. Then, enter the text to be rendered as a tooltip.  

 

  • Double-click the control to configure the “Globalize” properties. The application will alert you if there is nothing to globalize, as shown below. Otherwise, select a language from the drop-down list, then click the Translate button. Click the Save button. 

 

  • Save the Form definition. Select Actions - Create Form Instance from the menu. Generate a new Form instance and select the check box to edit it.

 

  • The Form is rendered on a new page, as shown below. Enter some user input, then click the “Clear Form” button to clear it.

 

 

Definition Sample:

You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.

Note: Please verify and complete the import process steps for any missing configurations, such as file path references and database connections. Then, save the definition to confirm the changes.

Click here to download the sample file.