This page is for admins who make Buttons.

The **Button Behaviour** section of a Workflow button has two settings: a cooldown and a confirmation view. They
prevent presses that the user did not want and presses that start your process again too soon.

## Turn on the section

1. Open the Button in the Button editor.
2. Turn on the switch at the right of **Button Behaviour** in the menu.
3. Click **Button Behaviour**. The section opens.
4. Set a cooldown, a confirmation view or both.
5. Click **Save**.

![The Button Behaviour section of the Button Create invoice with a cooldown of 60 seconds and the confirmation view on](https://res.cloudinary.com/zimple/image/upload/f_auto,q_auto/oneclick-docs/buttons/workflow-button/sections/button-behavior/button-behaviour-section.png)

If the section is on and has no cooldown and no confirmation view, OneClick shows **Fill in the information in at
least one field**.

## Cooldown

**Cooldown in seconds** blocks the Button for the time that you set. The user cannot press the Button again in
that time. The Button shows a circle that fills up. When the circle is full, the user can press the Button again.

- The value must be less than 10000 seconds. An empty field or 0 sets no cooldown.
- The cooldown starts when OneClick sends the data. A press that stops before that, for example on an empty
  required field, does not start the cooldown.
- The cooldown applies to one user, one Button and one record. Another user can press the Button on the same
  deal. The same user can press the Button on another deal.
- The OneClick server keeps the cooldown. A new browser tab, another browser or a cleared browser cache does not
  stop it.
- If you change the cooldown, the change applies from the next press.

## Confirmation view

The confirmation view asks the user to confirm the press before OneClick sends the data. It shows after the fields
of the Button.

1. Turn on **Enable confirmation view**.
2. Type a **Header text**, a **Description text**, a **Confirm label** and a **Decline label**. Fill in at least one
   of them.
3. Select a **Confirm color** and a **Decline color**: **default**, **positive** or **negative**.
4. Look at the **Preview** below the fields. It shows the view that the user sees.

If you leave a text empty, the user sees the default text:

| Field                | Default text                                       |
| -------------------- | -------------------------------------------------- |
| **Header text**      | **Confirm**                                        |
| **Description text** | **Are you sure you want to trigger this button?**  |
| **Confirm label**    | **Yes**                                            |
| **Decline label**    | **Cancel**                                         |

For the view of the user, see
[Press a Button](/docs/use-buttons/press-a-button#steps-before-oneclick-sends-the-data).
