Flowable Forms

Flowable Forms

  • Release Notes
  • Guides
  • Components
  • Storybook

›Components

Components

  • Introduction
  • Accordion
  • Button Group
  • Checkbox
  • Columns
  • Data Table
  • Date
  • Doc Gallery
  • Flex Layout
  • HR
  • HTML
  • iFrame
  • Image
  • Link
  • Link Button
  • List
  • Modal
  • Number
  • Outcome Button Group
  • Panel
  • Password
  • PDF Viewer
  • Radio button
  • REST Button
  • RichText editor
  • Assign Button
  • Select
  • Text List
  • Sub-Form
  • Tabs
  • Text
  • Textarea
  • Upload
  • Wizard

Assign Button

Stores the result of an expression.

Demo

Basic example

Attributes

AttributeTypeDescription
typestringType expected is scriptButton

See section Common attributes.

Extra attributes

AttributeTypeDescription
autoExecutebooleanIf true, the script will execute automatically when the form is displayed
timernumberNumber of ms to wait before automatically calling again
textstringText shown inside the button
scriptstringExpression whose result will be assigned.

Events

EventWhenAdditionalCancellable
Button.clickAny button is clickedDefinition + StateYes

See section Events for more information.

When to use it

  • When you want to set a variable when the user clicks a button.
  • When you want to set a variable when a panel is rendered, for example inside a wizard. To do that you can place the button inside a panel and set its visibility to false and autoExecute to true.
  • To have a "calculated variable" setting autoExecute and timer.
← RichText editorSelect →
Docs
GuidesComponents
Private
SourceStorybook
Flowable Forms
Copyright © 2020 Flowable