﻿# Sign app item

> [HTML Version](app-signature.html)

This widget is used to sign app items using a qualified signature. It automatically  appears on the top panel of a document’s form as the **(sign-button.png) **button. To display the widget for the user, the [system administrator](360006871932.md#administrators) needs to:

- Set up the signing module. In addition to[ standard modules](electronic-signature.md), integration with any electronic signature provider is available.

- The user has the permission to sign the document.

Read more in the [Digital signature in apps](digital_signtature_in_apps.md) article.

## Widget settings

To configure the widget, open the [interface designer](interface_designer.md), select the **Sign app item** widget, and click the gear icon.

### Main tab

**(sign_item_wdgt.PNG)**

- **App item\***.  The value in this field is defined automatically according to the app you are working with.

- **Comment**. Set up the comment option for the signature:

	- **Do not use**.** **When an app item is signed, there will be no need to write a comment.

	- **Optional**. The user can enable the **Comment** option and write a message.

	- **Preferred**.The user can enable the **Comment** option and not write a message.

	- **Required**. The user is required to write a comment when signing an app item.

- **Attributes**. Set up the option of signing app attributes:

	- **Do not use**. The attributes are not signed when the app item is signed.

	- **Optional**. The user can enable the option if necessary. By default, attributes are not signed. To enable, select the **Attributes** option in the window for signing app item.

	- **Preferred**. The user can enable the option if necessary. By default, attributes will be signed. To disable, deselect the **Attributes** option in the window for signing app item.

	- **Required**. The attributes will be automatically signed when a user signs the app item.

- **File**. For [Document-type apps](360009923631.md) signing a file is available. Specify whether the app item file has to be signed. The settings are similar to those of the **Attributes** field described below;

- **Provider**. Specify the provider that will be displayed by default in the app item signing window. The user can change the provider if other signing certificates are available. All enabled electronic signature modules are available for selection. If the field is left blank, the default provider specified by the user in the [profile settings](360016398552.md#signatures) will be used.

## Events and System tabs

The **Events** and **System** are for system settings that are the same for all the widgets. They allow you to configure widget visibility and access to its data, define what happens, when the user moves or hovers the pointer over the widget, etc. To learn more, see [System widget settings](common_widget_settings.md). 

To complete the settings, click **Save**. To make the changes available to users, click **Save** and **Publish** in the top toolbar.

## Delete the widget

To delete the widget from the form, open its **Settings**, click the recycle bin icon, and confirm deletion.

You can add a deleted widget back to the form. To do that, drag it from the side panel of the [interface designer](interface_designer.md) to the canvas or use the **+Widget** button. To learn more, see [Form templates](360029250931.md).