# Button

Source: [https://docs.virtosoftware.com/docs/virto-form-designer-web-part/virto-sharepoint-forms-for-sharepoint-2013-administration-and-usage/adding-sections-from-basic-controls/button/](https://docs.virtosoftware.com/docs/virto-form-designer-web-part/virto-sharepoint-forms-for-sharepoint-2013-administration-and-usage/adding-sections-from-basic-controls/button/)
Product: Virto Forms Designer Web Part
Updated: 2026-08-12


With this function you can execute a JavaScript event when a button is clicked.

![Button control properties for running a JavaScript event on click](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/button_1-1.png)

The button appearance can be also customized with css styles.

![Customizing the form button appearance with CSS styles in the designer](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/button_2-1.png)

![Styled button rendered on the SharePoint form after applying CSS](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/button_3.png)
