# Functions > Decide what happens when visitors use a Widget: API calls, messages, links, uploads and data updates. Functions are the behavior behind a Widget's buttons, forms and fields. You attach a function to an element by its **Function name**, and the function's **Function type** decides what happens when a visitor uses that element. Manage functions in the builder's **Functions** tab. ![The Functions tab of the Order status Widget listing openTrackingLink (Open link) and contactSupport (Send message), with the Add function button and the order status card in the preview.](annotated/01-functions-tab.webp "The Functions tab lists every function in the Widget.") ```jsx