Input form screen attributes for inputs
-
- UpdatedJan 30, 2025
- 13 minutes to read
- Yokohama
- Mobile Configuration and Navigation
Different types of inputs are available for use in input form screens, and you can use different attributes to configure the inputs.
Use input attributes to define the appearance and set limitations on your inputs. Examples include setting minimum and maximum values, or displaying an input value as a percentage.
General attribute
You can use this attribute with any input form screen, regardless of the input type.
Attribute | Description |
---|---|
DescriptionRenderType | Define a render type for the input description. html: Enables you to use HTML tags to format the text in the Description field of your input. |
DataSourceId | Define this attribute whenever you create a data source mechanism to load input values. For more information, see Data sources. Note: This attribute is not supported with signature inputs. |
ElementIdentifier | Define this attribute whenever you create a data source mechanism to load input values. For more information, see Data sources. Note: This attribute is not supported with signature inputs. |
Attachment inputs
Use attachment inputs to enable users to attach files in an input form screen. Attachment inputs require a scripted action item and an actionResult object to upload a
file.
Note: Attachment inputs are only supported for scripted actions. |
![]() |
Example
- Restrict attachment sources to users
- You have the option to limit the origins of attachments, to ensure that images are sourced from one or all of the following:
- on-site via a camera
- from the user’s phone gallery
- from the user’s file system
In the Input attribute record, select HiddenAttachmentSources. Select either camera, files or gallery, from the Value field and then select Save. Repeat the process if you want to include more than one attachment source. For more information, see Define attachment sources available to users.
Attribute Description HiddenAttachmentSources Decide where you don’t want images sourced from. Select one of the following source values: camera, files or gallery, from the Value field. Note: To avoid images and files being obtained from more than one source, add additional HiddenAttachmentSources attributes after you save the attribute you are currently configuring.
Barcode inputs
Use barcode inputs to scan single or multiple barcodes. Barcodes are machine-readable codes in the form of numbers and a pattern of parallel lines of varying widths. These codes are used to identify items such as products, parts, or assets. You can use this input type to enter information about items into your ServiceNow instance by using your mobile app.
- Barcode inputs can be configured for single scans, multi-scans, or grouped scans. Single scans enable the user to scan only once. In this case, the user must rescan by tapping the scan icon, which clears the scan value. You don't need to configure an attribute for a single scan barcode input.
- Multi-scan inputs can be configured with the MaxEntries attribute. If your input form screen barcode input is configured with the MaxEntries attribute, users can quickly scan multiple barcodes sequentially without leaving the scanning interface.
- Grouped scans can be configured to scan multiple barcodes associated with an asset that must be grouped in a set. To configure a grouped barcode input, you must create a barcode section in the input form screen that has barcode inputs only. Then the section MaxEntries attribute must be configured for the grouped barcode section so that users can scan multiple groups of barcodes.

Attribute | Description |
---|---|
MaxEntries | Used only for configuring multi-scanning and multiple groups of barcodes. Sets the maximum number of barcodes that a user can scan at a time. For example, you can set the value to 5 to
enable users to rescan 5 times. Note: Use this attribute for multi-scan barcode inputs only. If your barcode input is intended for single scans, no attribute is required. |
For information about creating an input form screen with barcode inputs, see Configure input form screens with single and multi-scan barcode inputs and Configure input form screens with grouped scan barcode inputs.
Boolean inputs
Use Boolean inputs for inputs with true or false values. You can configure Boolean inputs to appear either as a check box or as a toggle switch. |
![]() |
You can use these attributes with Boolean inputs.
Attribute | Description |
---|---|
RenderType | Specify a render type for the Boolean input.
|
Choice inputs
Use choice inputs to give your users options to select from. You can create these choices manually or use an existing table and field to provide the choices. Configure a choice input to enable users to select a single choice, or multiple choices. The option to select more than one chip in a category is marked by a + sign on the chips. Define the number of chips to display, enabling the user to see all options available on a single input form screen. If the defined number of chips to display exceed the defined amount, a See all button is displayed. Tap on the See all button to open a page with all the options listed. |
![]() |
You can use these attributes with choice inputs.
Custom map inputs
Use custom map inputs to add a link to an indoor map in your mobile app. Users can use these maps to get directions to and reserve resources such as desks, meeting rooms, or lockers. Admins can also configure a parametrized data item with query conditions that enable sorting and filtering of the custom map input. Important:
Custom map inputs that support parametrized data items must only use the ScreenId attribute. Don't use any other type of attribute for custom map inputs that support parametrized data items. If you're modifying an existing custom map input that uses the advanced reference qualifier to use a parametrized data item, use the ScreenId attribute only and remove all other attributes. |
![]() |
Date/time inputs
Use date/time inputs to enable your users to input date and time values. You can configure the input for date and time, or date only. |
![]() |
You can use these attributes with date/time inputs.
Number inputs
Use number inputs to enable your users to enter numerical values. Define optional minimum and maximum values to define a number range for your input. You can optionally configure a number input to appear as a percentage. By default, number inputs support decimals. |
![]() |
You can use these attributes with number inputs.
Ranking inputs
Use ranking inputs to enable your users to sort the available choices in order of preference or priority. Users tap and drag the available choices. Choices for the ranking input must be manually defined. |
![]() |
There are no attributes for ranking inputs other than the general attributes listed in this topic.
Reference inputs
Use reference inputs for inputs that reference a field on a table. These inputs work like reference fields in the forms on your instance. You can configure your reference input with conditions, reference qualifiers, and a search option to help your users find what they need quickly.
The optional search option uses "For text" keyword searches and can search for elements within the mobile view.
You can use these attributes with reference inputs.
Attribute | Description |
---|---|
SourceTable | The source table for your reference qualifier. |
SourceFieldName | The field name of the referenced field in the source table. |
TargetTable | The table that you want to target for your reference qualifier. |
The following additional attributes are optional:
Example
This example creates an input form screen input for the Assigned to field on the Incident [incident] table. To create this input, you use the three required attributes: TargetTable, SourceTable, and SourceFieldName.
- Your users select from a list of users to assign the incident to. So, you set the TargetTable attribute to sys_user.
- Because you're adding the user to an incident record, the SourceTable attribute is set to incident.
- Set the SourceFieldName to assigned_to so that the selected user is assigned to the Assigned to field.


Signature inputs
Use signature inputs to capture e-signatures on an input form screen. Signature inputs can be included on input form screen sections or pages.

You can use the optional IsOverlay attribute with signature inputs. By default, signatures are rendered in the full modal window. When the IsOverlay attribute Value is set to true, signatures are rendered in a half modal window.
Attribute | Description |
---|---|
IsOverlay | Sets whether the signature input is opened in a half modal window. You can set the Value to true or false. A value of
true configures the signature to open in a half modal window. Note: If the signature input is configured as the only input on a page and the isOverlay attribute is set to
true, the isOverlay attribute is ignored, and the signature input is displayed in the full screen. |
String inputs
Use string inputs for text input. You can define a maximum character length for this input. |
![]() |
You can use these attributes with string inputs.
Screen inputs
Use a screen input to transform a list screen into selectable list input. Users can select multiple list items and perform a write-back operation to the cache.
You can use these attributes with screen inputs.
Attribute | Description |
---|---|
ScreenId | Configures the list screen that is used for the selectable list input. The value is the sys_id of the list screen. |
GetDataFromParent | Transforms a list screen from a parent screen into the selectable list input. The filters that are applied to the parent list screen are carried over to the screen input. Enter true to enable this attribute. By default, it's turned off on the instance. |