# Open and close a form on a schedule

Source: https://docs.businessapp.io/business-app/crm/forms/open-and-close-a-form-on-a-schedule/

You can set a form to start accepting submissions on a date, stop accepting submissions on a date, or both. This is useful for giveaways, contests, events, and limited-time offers: share the form ahead of time, and it opens and closes on its own without you deleting or unpublishing it.

Outside the dates you set, visitors see a short page with your heading and message in place of the form fields, and the form doesn't accept new submissions.

## Set a start or close date

1.  Go to `CRM` → `Forms`.
2.  Click the three-dot menu (`⋮`) on the form's row and click `Edit`.
3.  Open the `Settings` tab and find the `Availability` section.
4.  Check one or both options:
    -   `Start accepting submissions on a date`: the form opens on its own at the start date.
    -   `Stop accepting submissions on a date`: the form closes on its own at the close date.
5.  Set the `Start date`, the `Close date`, or both. Each one includes a date and a time.
6.  Optionally, fill in the heading and message for each page (see [Choose what visitors see](https://docs.businessapp.io/business-app/crm/forms/open-and-close-a-form-on-a-schedule/#choose-what-visitors-see)).
7.  Click `Save`.

![The Availability section of a form&#39;s Settings tab, with Start accepting submissions on a date and Stop accepting submissions on a date checked, and the start date, upcoming heading, upcoming message, and close date filled in](https://docs.businessapp.io/assets/images/form-settings-availability-20b9b60a00a2279b4b4b91e93687382c.png)

Dates and times use the time zone shown under each date field. The form accepts submissions from the start date up to the close date, and stops at the exact close time.

> **Warning:** The close date must be after the start date. If it isn't, the form shows `The close date must be after the start date` and you can't save until you fix it.

## Choose what visitors see

Each date has its own heading and message:

| Field | Shown | If you leave it blank |
| --- | --- | --- |
| `Upcoming heading` | Before the form opens | Shows a default heading saying the form opens soon |
| `Upcoming message` | Before the form opens, below the heading | Shows only the heading |
| `Closed heading` | After the form closes | Shows a default heading saying submissions are closed |
| `Closed message` | After the form closes, below the heading | Shows only the heading |

Messages support rich text: bold, italic, underline, links, text alignment, and bulleted or numbered lists. Use the message to tell visitors when entries open, when winners are announced, or where to go instead.

Below your message, the page always includes a short line saying the form isn't accepting submissions.

### Preview the pages

When a start or close date is turned on, the `Design` tab shows a `Preview` toggle above the form preview. Click `Before opening` or `After closing` to see the page visitors get, including text you haven't saved yet. Click `Form` to go back to the form itself.

![The Design tab preview set to After closing, showing the Submissions closed heading, a message with a bulleted list, and the line saying the form isn&#39;t accepting submissions](https://docs.businessapp.io/assets/images/form-design-closed-preview-dedd85459c5b3aa83708b2805ad81a0a.png)

To change the heading or message, edit it in the `Settings` tab.

## What happens before a form opens and after it closes

-   **Everywhere the form is published:** the embedded form, the form's public page, and the QR code flyer all show the upcoming or closed page in place of the form fields.
-   **New submissions:** the form doesn't accept them. If a visitor has the form open when it closes and then clicks submit, they see the closed page.
-   **Existing submissions:** stay on the form and in the CRM. You can still view and export them.
-   **Automations:** stay connected to the form.

## Check a form's status

The `Status` column on the `CRM` → `Forms` page shows where each form is in its schedule:

| Status | Meaning |
| --- | --- |
| `Open` | The form accepts submissions and has no close date |
| `Opens` and a date | The form opens on that date |
| `Closes` and a date | The form is open and closes on that date |
| `Closed` and a date | The form closed on that date |

## Reopen a closed form

1.  Open the form and go to the `Settings` tab.
2.  In the `Availability` section, uncheck `Stop accepting submissions on a date`, or set a later `Close date`.
3.  Click `Save`.

The form accepts submissions again as soon as you save.

## Style the upcoming and closed pages

The upcoming and closed pages use the same container styles as your form (background, border, and width from the `Design` tab). To style them from your website's stylesheet, use these `::part()` names along with the ones in [Style a form from your website's stylesheet](https://docs.businessapp.io/business-app/crm/forms/form-builder/#style-a-form-from-your-websites-stylesheet):

| Part name | What it targets |
| --- | --- |
| `availability-page` | The upcoming or closed page container |
| `availability-page-upcoming` | The page shown before the form opens |
| `availability-page-closed` | The page shown after the form closes |
| `availability-icon` | The clock or lock icon |
| `availability-heading` | The heading |
| `availability-message` | Your message |
| `availability-note` | The line saying the form isn't accepting submissions |

```css
.crm-form-host::part(availability-heading) {
  color: #1d4ed8;
}
```

## Frequently asked questions

**How do I stop a form from accepting submissions after a deadline?**

Open the form's `Settings` tab, check `Stop accepting submissions on a date` in the `Availability` section, set the `Close date`, and click `Save`. The form closes on its own at that date and time.

**Can I share a form before it opens?**

Yes. Check `Start accepting submissions on a date` and set a `Start date`. You can embed the form, share its link, or print its flyer right away, and visitors see your upcoming page until the start date.

**Do I lose my submissions when a form closes?**

No. Submissions you already received stay on the form and in the CRM, and you can still export them. Only new submissions are blocked.

**Which time zone does the close date use?**

The time zone shown under the date field, for example `In your time zone (CST)`. The form opens and closes at that exact time.

**Can I close a form right away without a date?**

Set the `Close date` to the current date and time, or a time a few minutes from now, and click `Save`. The form closes at that time and shows your closed page.

**What do visitors see if I leave the heading and message blank?**

They see a default heading that says the form opens soon (before the start date) or that submissions are closed (after the close date), followed by a short line saying the form isn't accepting submissions.
