Skip to main content

Outcomes

Outcomes are the main form actions. For example Save, Cancel or Delete.

Loading...

The form outcomes can be rendered outside of the form, for example in a toolbar or sidebar. If the outcomesElement is passed to the \<Form> (see Form properties) the outcomes will be rendered there.

When an outcome is clicked the validation errors in the form will be displayed.

Attributes

AttributeTypeDescription
valuestringThe result of the outcome. It will be sent to the onOutcomePressed handler
labelstringText in the button
styleClassstringclass that will be appended to the DOM element
visiblebooleanWhen false the outcome won't be visible
enabledbooleanWhen false the outcome won't clickable
navigationUrlstringThis attribute is not used in Flowable Forms but it is passed to the host application in the onOutcomePressed. It is used to navigate after an outcome and it is sent to the host application with the expressions NOT resolved.

Outcomes accept enabled and visible expressions so you can disable or hide some outcomes when some conditions are met. For example enabled: "{{$formValid}}

Loading...