Input actions

Also referred to as: actions menu, ellipsis menu, actions per input

Overview

  • Release version
    Yokohama
  • Available sinceYokohama
  • A11Y WCAG 2.1 AA

When to use

Use input actions to allow users to comment, attach files, or navigate contextually - especially in large-scale forms where such actions are needed across many inputs. Input actions are supported in “Screen” presentation type input forms.

When not to use

Avoid input actions in small forms or when few inputs need them, as they can add unnecessary complexity. Instead, use dedicated input types like String for comments and Attachment for files, and control visibility with UI rules to keep the flow simple. Input actions are not supported in “Modal” presentation type input forms.


Overview

Input actions let users perform context-specific actions directly from an input. You can add an action button next to any input field to enable capabilities like adding a comment, attaching one or more images, or navigating to another screen.


Anatomy

iOS Input actions

iOS

Android Input actions

Android

  1. Input type: The input where actions can be configured to. Input actions are applied at the individual input level and are not shared across the form.
  2. Actions menu icon: The 3-dot ellipsis button opens an action menu (action sheet) with the available input actions. These actions are configured by the admin and vary by use case.
  3. Comment: Using the “Add comment” action, users can add a comment to the input. The comment will appear directly below the input, each input supports up to 1 comment, which is displayed inline. Comments are added through a modal, but displayed inline to maintain context. 4.** Edit comment:** Allows the user to edit the comment. Tapping opens a modal with the full comment view and option to edit it’s content. 5.Delete comment: Removes the comment from the input permanently. 6.Attachments link: When image attachments are added using the “Add attachments” action, a link button labeled “See attachments” appears below the input. Attachments are not shown inline, tapping the link button opens a modal where users can view or manage the attached images. Inputs support multiple attachments, but only of the image file type.
Add comment modal

Add comment modal

Attachments modal

Attachments modal

Add comment modal

  1. Top navigation - ״Done״ button: The top navigation bar includes a ״Done״ button for confirming and adding the changes to the comment. This button only becomes enabled when the user makes changes to the text.
  2. Comment field: Users can view and edit the full comment in this field. If the comment length exceeds the height users can view the whole comment by scrolling.
  3. Character counter: Displays the number of characters used out of the 4,000-character limit, helping users stay within the maximum allowed length.

Attachments modal

  1. Attachment card: Each image is displayed in its own container, which includes a large preview, an attachment label, and a delete icon. Attachments appear in a list, ordered from newest to oldest - newly added attachments appear at the top.
  2. Attachment label: Labels follow a consistent format: “Attachment [N]” (e.g., Attachment 1, Attachment 2). The most recently added attachments are numbered highest and shown first.
  3. Delete attachment: Removes the selected attachment from the input permanently.
  4. Image preview: A large thumbnail representing the attached image. Tapping the image opens a full-screen view.
  5. Add attachments bar: Appears at the bottom of the modal and provides controls for adding images and confirming changes. Tapping “Done” saves the attachments and returns the user to the form. “Done” is only enabled when changes are made in the attachments modal.
  6. Add from gallery: Allows users to select images from their device’s photo library.
  7. Add from camera: Opens the device’s camera, allowing users to take a photo and directly attach it.

Configurations

  • Input actions are available only when the input form’s presentation style is set to "Screen", which includes access to navigation tabs.
  • An actions menu can be configured individually for each input on the input form screen.
  • Each input action can be configured independently, allowing one or more actions to be associated with a single input.
  • Admins can add multiple navigation actions and customize each action by setting a label and assigning an icon.
 A flow of a user tapping the actions menu button on an input and opening an action sheet with

Action sheet configuration best practice:

  • The admin can configure an icon to appear next to each action label.
  • It’s recommended to use either a label with an icon for all actions or labels only - avoid mixing styles.
2 screens showing an action sheet with icons and without icons

Alignment and positioning

  1. The actions menu icon always appears on the right side of the input, positioned to the right of the input’s main action icon. It maintains 16px spacing from the right edge of the input container and 16px spacing from adjacent elements.
  2. In most input types, the actions menu icon is vertically center-aligned with the input’s container and the main action icon. For Text, Choice, and Number inputs (only for number input of RenderType = Line), the icon is vertically center-aligned with the label instead.
  3. When added, the comment and the “see attachments” link are always placed directly below the input, separated from it by a single separator. If both elements are present, they are stacked - comment first, followed by the attachments link - with one separator under the input and above the comment with no additional separator between the comment and attachments link.
Input actions alignment and positioning

States - Actions menu

Inputs have 3 states that effect the appearance of the actions menu: Default, Read-only, Loading/shimmering.

State Actions menu
Default Input actions - state - default.png
Read-only (Disabled): Actions menu is enabled, input is diabled and 80% opacity Input actions - state - read only.png
Loading/Shimmering Input actions - state - shimmering.png

Inputs with comments and attachments have 3 states: Input + comment, Input + attachments, Input + comment + attachments.

State Input actions
Input + comment Input actions - state - input + comment.png
Input + attachments Input actions - state - input + attachments.png
Input + comment + attachments Input actions - state - input +comment + attachments.png

A comment has 3 states: Default, Long text - collapsed, Long text - expanded.

State Comment
Default Input actions - state comment - default.png
Long text - collapsed Input actions - state comment - long text collapsed.png
Long text - expanded Input actions - state comment - long text expanded.png

States - Add comment modal

State Add comment modal
Default (typing) Input actions - state comment modal - default.png
Empty state (placeholder) Input actions - state comment modal - empty.png
Error Input actions - state comment modal - error.png

States - Attachments modal

State Attachments modal
Default Input actions - state attachment modal - default.png
Empty state Input actions - state attachment modal - empty.png
Loading (shimmering) Input actions - state attachment modal - loading.png
Error (Image loading failed) Input actions - state attachment modal - error.png

--

Responsive behaviors

Input actions adapt seamlessly to different screen sizes and orientations. The actions menu, inline comment, attachments link, and associated modals (Add comment, Attachments) all stretch to fit the full width of the device. This ensures a consistent and accessible experience across phones and tablets, in both portrait and landscape modes.

Stretched input with added comment and attachments

Input with added comment and attachments

Stretched add comment modal

Add comment modal

Stretched attachments modal

Attachments modal


Interactions

Actions menu

Tapping the actions menu opens an action sheet displaying all actions configured for that specific input.

User tapping the actions menu on an input and opens the action sheet

Tapping the actions menu opens an action sheet displaying all actions configured for that specific input.

Adding and editing comments

Users can add a comment from the actions menu - this option is available only if no comment has been added yet. Once a comment is added, it appears directly below the input and can be edited or deleted at any time.

3 screens showing: User tapping the "Add comment" action on the action sheet, editing a comment in a modal and tapping "Done" to add the comment to the input.

Add comment flow

Left: 2 screens demonstrating a user clicking on the edit (pen icon) button of a comment and editing it in a modal; Right: 2 screens showing a user tapping the delete (trash icon) button to delete a comment permanently and receiving a warning alert.

Edit comment flow; Delete comment flow

If a comment exceeds 4 lines, it will be truncated with a “Show more” button. Tapping the comment content or the “Show more” button expands the comment to display the full text inline. Users can tap again the comment content or the “Show less” button to collapse it back.

2 screens showing a user tapping on the "Show more" button on a comment to expand it.

Adding and viewing attachments

Users can add one or more image attachments to an input. Attachments are added through an overlay modal and are not shown inline. When at least one attachment is added, a “See attachments” link button appears below the input. Tapping the link opens the attachments modal to view or edit the current attachments.

Flow showing a user adding attachments to an input
View attachment in full-screen flow

View attachment in full-screen flow

A flow showing a user tapping an image thumbnail and a full-screen view of it

Delete attachment flow

The user can navigate to a screen or a launcher screen from within the context of an input. After navigating away, tapping the Back button returns the user to the input form—restoring the same page and exact scroll position where the navigation was triggered.

User tapping on an action to navigate to a KB article from an input

Internationalization

This is how the actions menu, comment modal and attachments modal look like when configured for a right-to-left (RTL) language:

Input form screen, add comment modal and attachments modal displayed in Hebrew