Element

Actions that manipulate elements on the page.

This core reference entry is suited for beginner-level builders.

Show an element

Shows an element or popup. If the element is a container, the elements inside will be shown as well.

Hide an element

Hides an element or popup. If the element is a container, the elements inside will be hidden as well.

Animation (native app)

When building a native app, use native animations when a group is hidden, like sliding, etc. This provides a more native experience. Choose from None, Slide, and Flip.

Animation direction

Select the direction of the animation. Choose from Left, Right, Up, and Down.

Toggle an element

Use this action to toggle an element or popup. If the element is visible, it will be hidden. If the element is hidden, it will become visible.

Our Academy quick tip on how to toggle an element

Scroll to an element

Use this action to scroll the page to a specific element. The page will be scrolled so that it is at the top of the browser window. This is useful for navigation buttons.

Our Academy quick tip on how to scroll to an element

Offset (pixels)

Enter a number in pixels to offset the scroll position. This is useful for a floating header that is near the top of the screen.

Animate an element

Use this action to animate elements on the page. The 'transition' animation hides or shows the element as an action would do.

Our Academy quick tip on how to animate elements

Animation

Choose the animation to use. A thumbnail shows allowing you to preview the animation.

Define a custom duration

By default, animations have a preset length. Check this box to override this setting.

Duration (ms)

Enter the animation duration in milliseconds.

Set state of an element

Assign custom states to elements to store additional information. For example, the current tab that a group shows, etc. This action modifies the value of the state. Use the state of an element in the Conditional section in the Property Editor to change how it displays based on the value of the custom state.

Custom state

Select the state to modify. Create a new state by selecting 'Create a new custom state...' in the dropdown menu.

Value

This is the value to assign to the custom state. It should be of the type of the custom state defined when the state was created.

Set another state

Click this button to set another custom state for this element.

Set focus to an input element

This action sets the focus to an input. If the input is not currently visible on the screen, the page will automatically scroll to the input.

On an iOS device, even if this action is used, the keyboard will not appear until the user interacts with the page in some way.

Reset relevant inputs

This action wipes the content of the inputs that were used in the workflow with this action. This is useful if you do not want users to click twice and run the workflow twice. The result inputs will either be empty or contain the default value defined for each of them.

Cancel upload of a file uploader

Cancel an in-progress upload of a file uploader. You can check if an upload is in progress using the 'is loading' state on the uploader.

Show message in an alert box

This action shows an alert. It is different from the Show element action because the element is shown with a fade in and fade out animation.

Fade in (ms)

Enter the length of the fade-in animation in milliseconds.

Hold (ms)

Enter the number of milliseconds to keep the alert visible.

Fade out (ms)

Enter the length of the fade-out animation in milliseconds.

Change the alert message

Check this box to overwrite the message defined at the Alert element level.

Message

Enter the new message to display.

Display data in a group/popup

This action defines which data a group or popup should use, provided a type of content was defined at the element level. It overwrites the data source set at the group/popup level. It also resets the data of any inputs or groups that are children of this element.

Data to display

Select the thing to be displayed in this group or popup. If the type isn't consistent with the element's type, the expression will be red or a popup will prompt you to change the element's type.

Reset a group/popup

This action resets a group or popup. When this happens, the data source reverts to what was initially set at the element's level, and the inputs are deleted.

Display list in a repeating group

This action defines which list of things a repeating group displays. It overwrites the data source set at the element level.

Data source

This defines the list of things that should be displayed in the repeating group. If the type isn't consistent with the element's type, the expression will be red or a popup will prompt you to change the element's type.

Known Issue

With large repeating groups, especially ones showing a lot of data per cell (e.g. images), if the data source changes while the repeating group is visible, what's shown in the repeating group might have a visual lag as it refreshes in chunks. To mitigate this, consider hiding the repeating group, then changing the data source, then showing the repeating group again.

Clear list in a repeating group

Reset the list of a repeating group to what is defined at the repeating group's level. If no data source was defined at the element's level, the list will be empty.

Show next of a repeating group

When using the group in a 'Fixed number of cells' layout, use this action to go to the next page in the repeating group.

Wrap around

If checked, the repeating group will display the first page after displaying the last one so that users can keep moving through the pages.

Show previous of a repeating group

When using the group in a 'Fixed number of cells' layout, use this action to go to the previous page in the repeating group.

Wrap around

If checked, the repeating group will display the first page after displaying the last one so that users can keep moving through the pages.

Go to page of a repeating group

When using the group in a 'Fixed number of cells' layout, use this action to jump to a given page in the repeating group.

Page

This number, which can be dynamic, is the page to go to. If the length is shorter than the entered number, it will go to the last page.

Scroll to entry of a repeating group

Scrolls a repeating group so that a given entry is at the top of the list. This doesn't work with repeating groups in the 'Fixed number of cells' layout. In Infinite scroll mode, the list is scrolled to the correct position. In Full list mode, the entire page will be scrolled so that the entry is at the top of the screen.

Entry to scroll to

This is the entry to scroll to. If it is not in the list, nothing will happen. It should be of the same type as the repeating group.

Animate the scrolling

Check this box to apply a 300-milliseconds animation as the page/list scrolls.

Vertical offset (pixels)

By default, this action will scroll so that the entry is at the top of the element (or the screen). If you need to add an offset, for instance if a header is at the top of the screen, you can enter a number of pixels there.

Display markers on a map

This action overwrites the list of places a map shows. It takes a list of things that contain a geographic address and displays them on the map. When doing so, the zoom of the map is adjusted automatically to show all markers.

Data source

Define the list of things that should be displayed on the map. If the type isn't consistent with the map's type, the expression will be red or a popup will prompt you to change the element's type.

Set current map marker for a map

This action sets the currently selected map marker on a map. Only works for maps that are displaying a list of markers. When this action is run, the map's 'current marker' will change to the value of 'To select'. If the map is configured to display custom map markers for the selected item, and the value of 'To select' corresponds with a marker currently visible on the map, that marker will be visibly selected. Also, if 'Show title window' is turned on, the title window will be shown if it was currently hidden. Otherwise, there won't be a visible change to the map.

To select

The map marker to select. Must be the same type of thing currently displayed as the map's list.

Clear markers on a map

This action clears the map and uses the data source defined at the map level.

Adjust map zoom

This action automatically adjusts the map zoom so that all markers are visible.

Set center and zoom manually

By default, the action adjusts the zoom and center so that all markers on the map are shown. Check this box to define the zoom and center manually.

Map centered on

This is the address used to center the map.

Initial zoom

This is the zoom level applied to the map.

Last updated

#829: Flusk: more detailed Issue Descriptions

Change request updated