SaveForm Widget

Last published at: May 14th, 2024

Description:

Saves the form when in edit mode (and the form is not submitted to initiate any workflow)

Inputs

  • Button Type - Select between any of the button types
  • ID/Name - Name of widget generated by FlowWright (read-only field)
  • Button Label -  Enter the description text for the button label
  • Hide - Select checkbox to Hide (tick mark)
  • Read Only - Select checkbox to Read-Only (tick mark)
  • Pre-prompt message - Enter the text message to pre-prompt
  • Post-prompt message - Enter the text message to post-prompt
  • Tool Tip - Enter information to display on mouse hover on form render
  • Styles - Enter the CSS scripts for widget styles
  • Apply Classes - Select between custom classes defined 
  • 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 SaveFormDef example.  

  • Create a new form definition called “SaveFormDef
  • Select the Open Designer checkbox and click the “Create” button
  • Drag a SaveForm widget to the canvas
  • Double-click on the SaveForm widget to configure the inputs as shown in the below graphic

  • Click on Save button and Close the popup window
  • Navigate to UI menu and Preview the form. The rendered widget saves the form when in edit mode.